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

Update documentation re. ID filtering #9

Closed
anthoninlize opened this issue Oct 28, 2022 · 1 comment
Closed

Update documentation re. ID filtering #9

anthoninlize opened this issue Oct 28, 2022 · 1 comment
Assignees
Labels
documentation Documentation needs to be updated according to this issue

Comments

@anthoninlize
Copy link
Contributor

ID filtering .id is broken since Agrest 5.x, but the same thing can be achieved by filtering on the relationship itself:
.entity1 in (1,2,3)
instead of
.endity1.id in (1,2,3)

This must be reflected in the documentation.

@anthoninlize anthoninlize added the documentation Documentation needs to be updated according to this issue label Oct 28, 2022
@anthoninlize anthoninlize self-assigned this Oct 28, 2022
@anthoninlize
Copy link
Contributor Author

Not mentioned in the documentation, and might be fixed by AgRest
agrestio/agrest#585

@anthoninlize anthoninlize closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation needs to be updated according to this issue
Projects
None yet
Development

No branches or pull requests

1 participant