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

DefaultResolveFn: Use case insensitive comparison #305

Merged
merged 1 commit into from
Mar 24, 2018

Conversation

abihf
Copy link
Contributor

@abihf abihf commented Mar 24, 2018

To be able to use struct type for resolver without using field tags

schema:

type User {
  id: ID!
  name: String
}

Go:

type User struct {
  ID string
  Name string
}

@coveralls
Copy link

coveralls commented Mar 24, 2018

Coverage Status

Coverage decreased (-0.01%) to 81.037% when pulling 0b39fb1 on abihf:patch-1 into 53935ab on graphql-go:master.

@chris-ramon
Copy link
Member

LGTM 👍 — thanks a lot @abihf

@chris-ramon chris-ramon merged commit 8ab5400 into graphql-go:master Mar 24, 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

Successfully merging this pull request may close these issues.

3 participants