You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
What is the current behavior?
Using django-filter for filtering an exact ID match functions well, while filtering for an id in some set of IDs does not.
For AutoFields and ForeignKeys and the like, when specifying "id": ["exact", "in"] as part of a node's filter_fields, the exact filter works well, while the in filter raises exceptions resulting from not decoding global ids.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
The latter query should return the objects that match the specified list of IDs.
What is the motivation / use case for changing the behavior?
I think this is a bug/oversight.
Please tell us about your environment:
Version: 3.2.2
Platform: macOS 15.3 (but I've also experienced this on manjaro, this is not OS specific)
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)
If this is the type of bug you would fix, I can provide a reproducible example.
The text was updated successfully, but these errors were encountered:
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
Using django-filter for filtering an exact ID match functions well, while filtering for an id
in
some set of IDs does not.For AutoFields and ForeignKeys and the like, when specifying
"id": ["exact", "in"]
as part of a node'sfilter_fields
, theexact
filter works well, while thein
filter raises exceptions resulting from not decoding global ids.If you'd like, I can setup a repl.it example, but for now I'll just illustrate here:
And then a query like
works fine, while
does not.
What is the expected behavior?
The latter query should return the objects that match the specified list of IDs.
What is the motivation / use case for changing the behavior?
I think this is a bug/oversight.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)
If this is the type of bug you would fix, I can provide a reproducible example.
The text was updated successfully, but these errors were encountered: