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

Support field-level arguments #34

Open
eslingerbryan opened this issue Feb 8, 2020 · 1 comment
Open

Support field-level arguments #34

eslingerbryan opened this issue Feb 8, 2020 · 1 comment

Comments

@eslingerbryan
Copy link
Owner

Currently, arguments only apply to queries and mutations, but are also applicable to individual fields. For example, and avatar_image field on a User type may accept a size argument to specify different image sizes for different uses (thumbnail, full-size, etc).

Should be a pretty natural extension of the Field struct/module to leverage the existing Argument module.

Blocked by #29

@eslingerbryan
Copy link
Owner Author

"Blocked" is a little strong, but this feature doesn't become useful until we have field-level resolver support.

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