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
@doug-martin I created a resolver extends from ReadResolver but it doesn't doesn't generate schema for query relations
The text was updated successfully, but these errors were encountered:
doug-martin
changed the title
[Bug] Relations with ReadResolver can't query relations
[Question] Relations with ReadResolver can't query relations
Feb 29, 2020
I went back and forth on whether or not the read resolver should automatically add relations. When using the read resolver by itself its picking a la carte functionality.
Looking at the source I see that I dont expose the Relateable mixin....Ill look into either exposing that or automatically adding the read relations.
The reason I wavered, was that It was unclear where the add/remove relations belonged, and I felt it kinda broke the single responsibility of the Read Resolver.
* [DOCS] Added clarification around individual resolvers and relations with examples #42
* [ADDED] Exposed `Relatable` mixin from `@nestjs-query/graphql` #42
* [DOCS] Added clarification around individual resolvers and relations with examples #42
* [ADDED] Exposed `Relatable` mixin from `@nestjs-query/graphql` #42
@doug-martin I created a resolver extends from
ReadResolver
but it doesn't doesn't generate schema for query relationsThe text was updated successfully, but these errors were encountered: