Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.
This repository was archived by the owner on May 26, 2022. It is now read-only.

Implement inferSchema functionality #22

Description

@johnymontana

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions