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

Handle attributes with no inputFields or fields #35

Closed
orta opened this issue Jan 15, 2017 · 0 comments
Closed

Handle attributes with no inputFields or fields #35

orta opened this issue Jan 15, 2017 · 0 comments

Comments

@orta
Copy link
Contributor

orta commented Jan 15, 2017

We have an enum with no fields, or inputFields in the schema.json

        {
          "kind": "UNION",
          "name": "PartnerTypes",
          "description": null,
          "fields": null,
          "inputFields": null,
          "interfaces": null,
          "enumValues": null,
          "possibleTypes": [
            {
              "kind": "OBJECT",
              "name": "Partner",
              "ofType": null
            },
            {
              "kind": "OBJECT",
              "name": "ExternalPartner",
              "ofType": null
            }
          ]
        },

This currently crashes the process. Will send a PR.

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