graphql-core-legacy
graphql-core-legacy copied to clipboard
Include the ancestor field ast in the resolver's `ResolveInfo`
Just as how field_asts contains the descendants to be resolved after a resolver, it would be nice if the ResolveInfo object also contains the field ast's ancestors that leads to the currently-resolved field.
This information would make https://github.com/graphql-python/graphql-core/issues/127 really easy to resolve.
I started adding this feature at https://github.com/graphql-python/graphql-core/pull/148 would love feedback