Skip to content

Default resolver not being called from ariadne #748

Answered by rafalp
krish7919 asked this question in Q&A
Discussion options

You must be logged in to vote

2.: Isn't this a question to postgraphile community? ;)

4.: I don't see any resolver being set on Query.metrics nor root value being passed to graphql_sync() call, so this field will always resolve to null.

5.: Can't repro, field aliases work correctly in graphql-core version Ariadne currently uses to execute queries.

6.: Fallback resolvers are only set for fields that don't have resolvers set on them. This de facto makes fallback_resolvers and snake_case_fallback_resolvers mutually exclusive, as first fallback passed to make_executable_schema will set resolvers, making other one noop.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@rafalp
Comment options

@krish7919
Comment options

@rafalp
Comment options

@krish7919
Comment options

@rafalp
Comment options

Answer selected by rafalp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants