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
When attempting to access the articles relationship through the publication type in the graphql query I can only access it via the Publication graphql type but not through the SciencePublication type
This issue is loosely related to #319 to provide further support for proxy models
Currently, django models that are a proxy of another model don't include their many to many relationships that you get by default without proxy
So if my models.py looks like this
and my graphene types in types.py
When attempting to access the
articles
relationship through the publication type in the graphql query I can only access it via the Publication graphql type but not through the SciencePublication typethis is fine...
this is errors
many to many relationships persist with proxy models so that this query doesn't error
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: