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

Allow underscore only fields and naming collisions to be aliased explicitly #541

Merged
merged 3 commits into from
Feb 18, 2019

Conversation

vektah
Copy link
Collaborator

@vektah vektah commented Feb 9, 2019

Allows cases like

type SomeType {
    differentCase: String!
    different_case: String!
}

to be explicitly worked around using config:

  ValidType:
    fields:
      different_case: { fieldName: DifferentCaseOld }

Fixes #473
Fixes #376

@vektah vektah force-pushed the fix-underscore-only-fields branch from 0709925 to f6c5266 Compare February 18, 2019 01:00
@vektah vektah merged commit ef0223c into next Feb 18, 2019
@vektah vektah deleted the fix-underscore-only-fields branch February 18, 2019 01:10
@vektah vektah mentioned this pull request Mar 4, 2019
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
…ields

Allow underscore only fields and naming collisions to be aliased explicitly
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.

1 participant