We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symptom: You have an @inline fragment on a union type, but you're never getting anything but #UnselectedUnionMember back. Example:
@inline
#UnselectedUnionMember
fragment MetricValueUtilsValue_value on MetricValues @inline { ... on MetricValueCount { count } ... on MetricValueCurrency { amount } ... on MetricValuePercentage { percentage } }
Cause: Automatic insertion of __typename selection seems to not work on @inline fragments on unions.
Current workaround: add the __typename selection yourself.
__typename
fragment MetricValueUtilsValue_value on MetricValues @inline { + __typename ... on MetricValueCount { count } ... on MetricValueCurrency { amount } ... on MetricValuePercentage { percentage } }
The text was updated successfully, but these errors were encountered:
Cannot reproduce this in recent versions.
Sorry, something went wrong.
No branches or pull requests
Symptom: You have an
@inline
fragment on a union type, but you're never getting anything but#UnselectedUnionMember
back. Example:Cause: Automatic insertion of __typename selection seems to not work on @inline fragments on unions.
Current workaround: add the
__typename
selection yourself.fragment MetricValueUtilsValue_value on MetricValues @inline { + __typename ... on MetricValueCount { count } ... on MetricValueCurrency { amount } ... on MetricValuePercentage { percentage } }
The text was updated successfully, but these errors were encountered: