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
Given a GraphQL object class which implements one or more interfaces, and which is extended by another object class, if the original object is not visible?, its interfaces are not exposed on the extending class.
Versions
I am on 1.13 but I have reproduced with 2.0 latest:
Hey, thanks for the detailed report. I'll have to check back in the archives to determine whether this is a feature or a bug 😆 . I have a hunch it was addressed in a previous issue or PR.
In any case, the described behavior comes from here:
You could customize how interface implementations and union memberships are determined to be visible by making a custom subclass of TypeMembership and attaching it to your base interface and base union using the type_membership_class(...) config:
Describe the bug
Given a GraphQL object class which implements one or more interfaces, and which is extended by another object class, if the original object is not
visible?
, its interfaces are not exposed on the extending class.Versions
I am on 1.13 but I have reproduced with 2.0 latest:
Demo
Steps to reproduce
Run the above with and without the commented section.
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: