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

Fix NodePattern for fields without a name #20

Conversation

swalkinshaw
Copy link
Contributor

field can be called without a position name argument which causes errors right now. This also happens when FieldExtension's are used; methods are called on field instead of passing arguments.

The simplest fix was to ensure the node pattern matching for field definitions required a symbol positional argument (the field name).

`field` can be called without a position name argument which causes
errors right now. This also happens when FieldExtension's are used;
methods are called on `field` instead of passing arguments.

The simplest fix was to ensure the node pattern matching for field
definitions required a symbol positional argument (the field name).
Copy link
Owner

@DmitryTsepelev DmitryTsepelev left a comment

Choose a reason for hiding this comment

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

Hi @swalkinshaw, thank you so much!

@DmitryTsepelev DmitryTsepelev merged commit e4f2915 into DmitryTsepelev:master Jul 21, 2020
@swalkinshaw swalkinshaw deleted the fix-node-pattern-for-fields-without-names branch July 21, 2020 20:11
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