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
#279 added support for returning plain object from queries which returns type is an interface but it introduced a regression that makes interfaces-inheritance example not working correctly.
The implementingObjectTypesTargets looks for classes that implements selected interface but because of current pipeline limitation (#183) it doesn't have access to parent and its parent classes metadata, so when using deeply nested inheritance, it might return the first (base) class always.
The workaround for now is to use custom resolveType functions.
The text was updated successfully, but these errors were encountered:
#279 added support for returning plain object from queries which returns type is an interface but it introduced a regression that makes
interfaces-inheritance
example not working correctly.The
implementingObjectTypesTargets
looks for classes that implements selected interface but because of current pipeline limitation (#183) it doesn't have access to parent and its parent classes metadata, so when using deeply nested inheritance, it might return the first (base) class always.The workaround for now is to use custom
resolveType
functions.The text was updated successfully, but these errors were encountered: