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

Invalid schema created when node has no properties #62

Closed
jessitron opened this issue Sep 1, 2017 · 1 comment
Closed

Invalid schema created when node has no properties #62

jessitron opened this issue Sep 1, 2017 · 1 comment

Comments

@jessitron
Copy link
Contributor

here's a simple reproduction:

create (b: Blackberry) -[:COLOR]-> (c: Yes { name: "purple"})

then open the client and click "Docs" to open the schema browser.
the electron graphql client says, when it tries to load the schema for its browsering:
Error: _BlackberryOrdering values must be an object with value names as keys.

This is also happening when I specify a schema, when it contains nodes with no properties. (This one is a serious problem for us)

jexp added a commit to neo4j-contrib/neo4j-graphql that referenced this issue Sep 3, 2017
@jexp jexp closed this as completed in d91eb7d Sep 3, 2017
@jexp
Copy link
Contributor

jexp commented Sep 3, 2017

Interestingly this only seems to be a problem on the client side, not the server side GraphQL libraries.
I fixed it.

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

2 participants