Open wkoot opened 4 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Using the starwars example app for explanation.
What is the current behavior? The
DjangoFilterConnectionField
does not usesource
arg, it only works on field name.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Add a
DjangoFilterConnectionField
factions
toschema.Query
:Add a
DjangoFilterConnectionField
our_ships
toschema.Faction
with itsrelated_name
insource
:Insert two Factions with one ship each to the db, e.g.:
The following query will return both ships, instead of only the X-Wing:
What is the expected behavior? The query should only return the X-Wing ship.
What is the motivation / use case for changing the behavior? If you add field
ships
toschema.Faction
instead of usingsource
, it works as intended:Please tell us about your environment:
Other information