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

TypeError: Cannot read property '__schema' of undefined #2

Open
srghma opened this issue Sep 17, 2017 · 0 comments
Open

TypeError: Cannot read property '__schema' of undefined #2

srghma opened this issue Sep 17, 2017 · 0 comments

Comments

@srghma
Copy link

srghma commented Sep 17, 2017

"graphql:schema_to_types": "graphql-to-typescript app/schema.graphql app/graphql.d.ts",

yarn run v0.28.4
$ graphql-to-typescript app/schema.graphql app/graphql.d.ts
TypeError: Cannot read property '__schema' of undefined
Done in 0.92s.

app/schema.graphql

# source: https://api.graph.cool/simple/v1/cixmkt2ul01q00122mksg82pn
# timestamp: Sun Sep 17 2017 21:32:52 GMT+0300 (EEST)

enum _ModelMutationType {
  CREATED
  UPDATED
  DELETED
}

# Meta information about the query.
type _QueryMeta {
  count: Int!
}

input AUTH_PROVIDER_EMAIL {
  email: String!
  password: String!
}

input AuthProviderSignupData {
  email: AUTH_PROVIDER_EMAIL
}

input CreateFile {
  name: String!
}

......
....
.....
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