neo4j / graphql

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations.
https://neo4j.com/docs/graphql-manual/current/
Apache License 2.0
504 stars 149 forks source link

Introspect schema using neo4j ogm java annotation #2436

Closed Hashdhi closed 1 year ago

Hashdhi commented 1 year ago

We are using neo4j enterprise 5.1.0 . application built using java and neo4j-ogm-3.2.38 we have java data model annotated with ogm annotation @Node /@Relationship

wanted to use neo4j/graphql .

npm package, @neo4j/introspector generates GraphQL type definitions from an existing database

is there any option of creating GraphQL type definitions from java data model annotated with ogm annotation @Node /@Relationship?

tbwiss commented 1 year ago

Hi @Hashdhi! Unfortunately, there is no way to do that in the @neo4j/graphql library and unlikely to be added in the future. You may want to head over to the neo4j-graphql-java lib and check/ask there.