Open nardo7 opened 3 years ago
Hey I experienced similar problems and wrote a fix for this in #527.
I would be happy to hear if this works for you too.
Hi @gabriellovric Thanks for your help. I’ll look at it for sure! I’ll let you know
Hi @gabriellovric It doesn't resolve my issue. I think your fix isn't related with this, since the function you modified isn't called at all when I run the query example. Thanks for your help
Bug
Hi guys, I want to report what I think it's a bug which is not letting us go forward with our graphql API using your framework.
Our project uses the same version as in the starter project: neo4j-graphql-js 2.17.0
I'm experiencing some troubles with your framework, receiving wrong data in some queries which were working well until I started to use interfaces. After watching the generated cypher queries I figured out that the interface label is generated as variable name instead of generating the variable name of the type which implements the interface.
I tried to reproduce the problem with the grandstack starter project.
Schema
Graphql Query
After creating this dumm elements
This is the query I need to work
The generated Query
I think the part
[(`entity`)-[`entity_filter_description`]->(`_description`:Description) | `_description`]
is wrong, because:(`entity`)
should be generated(`business`)
instead.I tested it myself replacing the entity for the real label and it worked as I expected.
What can I do? Am I missing something here?
Thank for your work and for your help