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
Specifying the @customResolver directive on the field definition keeps fullName from being included in any query or mutation fields and hence as a property on the :User node in the database.
The generated Cypher
MATCH (this:User) RETURNthis{ .firstName, .fullName}ASthis
is wrong, since it includes the filed annotated with @customResolver
Expected cypher should be:
MATCH (this:User) RETURNthis{ .firstName}ASthis
The text was updated successfully, but these errors were encountered:
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @Andy2003! 🙏 We will now prioritise the bug and address it appropriately.
Describe the bug
Given the existing test
graphql/packages/graphql/tests/tck/directives/customResolver.test.ts
Lines 151 to 169 in 7ad1e91
And the documentation
The generated Cypher
is wrong, since it includes the filed annotated with
@customResolver
Expected cypher should be:
The text was updated successfully, but these errors were encountered: