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

Proper schema introspection #1

Closed
micimize opened this issue Jun 22, 2019 · 1 comment
Closed

Proper schema introspection #1

micimize opened this issue Jun 22, 2019 · 1 comment

Comments

@micimize
Copy link
Owner

GraphiQL complains about our schema's inconsistency, probably because we're working around angel graphql's lack of recursive type references:

Error: Character.friends expects type "[String]" but Droid.friends provides type "[Character]".
    at invariant (https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:25010:11)
    at https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:29992:29
    at Array.forEach (<anonymous>)
    at assertObjectImplementsInterface (https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:29983:30)
    at https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:29865:18
    at Array.forEach (<anonymous>)
    at https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:29864:30
    at Array.forEach (<anonymous>)
    at new GraphQLSchema (https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:29861:32)
    at buildClientSchema (https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.11/graphiql.js:31250:10)
@micimize
Copy link
Owner Author

This should be fixed in 0.0.5

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