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

generated .graphql output not compatible with relay #3

Open
chandu0101 opened this issue Apr 29, 2017 · 0 comments
Open

generated .graphql output not compatible with relay #3

chandu0101 opened this issue Apr 29, 2017 · 0 comments

Comments

@chandu0101
Copy link

chandu0101 commented Apr 29, 2017

type Viewer {
  allFiles(filter: FileFilter, orderBy: FileOrderBy, skip: Int, after: String, before: String, first: Int, last: Int): FileConnection!
....

Relay Error :

Invariant Violation: RelaySchemaUtils: Expected type FileConnection!to be an object or interface type.

remove suffix ! on connection return type.

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