Currently, generating type definitions from an existing Neo4j database is done using the inferSchema functionality in neo4j-graphql.js. With the migration to @neo4j/graphql we want the logic for generating these type definitions to live in the grandstack-cli project instead.
So for example, this command will connect to Neo4j, generate the inferred type definitions and log them to the console. We want the same functionality, but instead of using the inferSchema function from neo4j-graphql.js, the logic needs to be defined in this project and the type definitions should be compatible with @neo4j/graphql.
grandstack graphql inferschema --neo4j-user neo4j --neo4j-uri bolt://localhost:7687 --neo4j-password letmein
The logic for this command is defined in this file.