Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive empty list of related resources after upgrade from 0.30.1 to 0.31.x #196

Open
smdevice opened this issue Oct 23, 2020 · 2 comments

Comments

@smdevice
Copy link

Such kind of requests always returns empty list:
Request:
/addresses/43/values
Response:
{ "data": [], "links": {"self": "http://127.0.0.1:5000/address_values"}, "meta": {"count": 0}, "jsonapi": {"version": "1.0"} }

If I try to get the same resources using the filter it returns expected result.
/address_values?filter=[{"name":"address__id", "op":"has", "val":43}]

On 0.30.1 everything works as expected.

@kurianbenoy-aot
Copy link

@smdevice was this an issue with relationship? Even I am facing the same issue

@smdevice
Copy link
Author

smdevice commented Jan 4, 2021

@smdevice was this an issue with relationship? Even I am facing the same issue

Yes, it returns an empty list only for relationships.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants