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

Accept additional options in global_id_field macro #3196

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

barthez
Copy link
Contributor

@barthez barthez commented Oct 20, 2020

Accept options in global_id_field macro and pass them to as field definition options. This would be extremely useful with https://github.com/Gusto/apollo-federation-ruby/ turning:

global_id_field :id
field :id, ID, null: false, external: true

into:

global_id_field :id, external: true

Accept options in global_id_field macro and pass them to as field
definition options.
@barthez barthez force-pushed the add-options-to-global-id-field branch from f9b170e to f28222b Compare October 20, 2020 10:24
Copy link
Owner

@rmosolgo rmosolgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the improvement!

@rmosolgo rmosolgo added this to the 1.11.6 milestone Oct 21, 2020
@rmosolgo rmosolgo merged commit 97a0a06 into rmosolgo:master Oct 21, 2020
@barthez barthez deleted the add-options-to-global-id-field branch October 22, 2020 06:07
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

Successfully merging this pull request may close these issues.

2 participants