Skip to content
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

Add a Dest field to Field (and deprecate Q) #1

Closed
btubbs opened this issue Apr 25, 2018 · 0 comments
Closed

Add a Dest field to Field (and deprecate Q) #1

btubbs opened this issue Apr 25, 2018 · 0 comments

Comments

@btubbs
Copy link
Owner

btubbs commented Apr 25, 2018

If we had a Dest field on Field then we could just pass a slice of Fields to QueryFields instead of a slice of the Q objects, and we wouldn't need the Q objects at all.

The thing that would be slightly dirty about it is that Dest would be required for all top-level fields, but forbidden for any more deeply nested fields.

@btubbs btubbs changed the title Add a Dest field to Field (and deprecate Q) Add a Dest field to Field (and deprecate Q) Apr 25, 2018
@btubbs btubbs closed this as completed May 11, 2018
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

1 participant