Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

... On Not working #55

Closed
rsingh-27 opened this issue Jun 4, 2018 · 6 comments
Closed

... On Not working #55

rsingh-27 opened this issue Jun 4, 2018 · 6 comments

Comments

@rsingh-27
Copy link

I am using interfaces in my schema when I try to query with

` ...on
syntax I get the following error

TypeError: Cannot read property 'value' of undefined
    at buildCypherSelection (/app/node_modules/neo4j-graphql-js/dist/selections.js:43:38)
    at buildCypherSelection (/app/node_modules/neo4j-graphql-js/dist/selections.js:77:12)
    at cypherQuery (/app/node_modules/neo4j-graphql-js/dist/index.js:137:76)
    at _callee$ (/app/node_modules/neo4j-graphql-js/dist/index.js:41:23)
    at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:62:40)
    at Generator.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:114:21)
    at step (/app/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /app/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
    at new Promise (/app/node_modules/core-js/library/modules/es6.promise.js:177:7)

@eljenso
Copy link

eljenso commented Jul 31, 2018

Any news on this? Getting the same error.

@rsingh-27
Copy link
Author

It's not supported by the library yet..

@eljenso
Copy link

eljenso commented Aug 10, 2018

@johnymontana Would like to use this package but this but makes it unusable in my case.
Any plans on implementing GraphQL interfaces?

@johnymontana
Copy link
Contributor

@eljenso Yes, this is a glaring omission. We will bump the priority up on this to get it fixed soon.

@johnymontana
Copy link
Contributor

We've added initial support for Inline Fragments in v1.0.1. Please test and let us know how it works. See #103 for more info.

@johnymontana
Copy link
Contributor

Closing this as a duplicate of #103, as there's a bit more discussion there. Please track in #103.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants