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
Currently, sub-field names can be injected via @GraphQLEnvironment Set<String> subSelection only when the current field is of GraphQLObjectType. It injects an empty set for interfaces, unions.
Knowing the sub-selection ahead of time can be important in order to optimizes the fetching, e.g. "SELECT subFiel1, subField2 FROM table" instead of SELECT * FROM table.
Should be implemented in grapqhl-spqr first and then submitted as a PR to graphql-java as the limitation comes from there.
The text was updated successfully, but these errors were encountered:
My issues is that when aliases are used it is impossible to get real name of asked subSelection item but alias instead.
Is there any possibility to get real name?
Currently, sub-field names can be injected via
@GraphQLEnvironment Set<String> subSelection
only when the current field is ofGraphQLObjectType
. It injects an empty set for interfaces, unions.Knowing the sub-selection ahead of time can be important in order to optimizes the fetching, e.g. "SELECT subFiel1, subField2 FROM table" instead of
SELECT * FROM table
.Should be implemented in grapqhl-spqr first and then submitted as a PR to graphql-java as the limitation comes from there.
The text was updated successfully, but these errors were encountered: