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

Parser does not respect primaryKey attribute in serializer #151

Open
jhliberty opened this issue Aug 17, 2017 · 0 comments
Open

Parser does not respect primaryKey attribute in serializer #151

jhliberty opened this issue Aug 17, 2017 · 0 comments

Comments

@jhliberty
Copy link

The api I'm hitting doesnt use the key 'id' for the primary key so this line causes the request to fail since there is no id. Changing it to 'uid' for instance worked but it should respect the primaryKey attribute on a serializer and if not present fall back to id.

currentField.selectionSet.push(new Type.Field('id'));

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