Skip to content

Include the ancestor field ast in the resolver's ResolveInfo #134

New issue

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

Open
yen223 opened this issue Aug 2, 2017 · 1 comment
Open

Include the ancestor field ast in the resolver's ResolveInfo #134

yen223 opened this issue Aug 2, 2017 · 1 comment

Comments

@yen223
Copy link

yen223 commented Aug 2, 2017

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 graphql-python/graphql-core#127 really easy to resolve.

@yen223 yen223 changed the title Include the prior field ast in the resolver's ResolveInfo Include the ancestor field ast in the resolver's ResolveInfo Aug 2, 2017
@ekampf
Copy link
Contributor

ekampf commented Oct 31, 2017

I started adding this feature at graphql-python/graphql-core#148
would love feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants