We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow running JavaScript functions a Bundle-Time (Macros) that returns a circular structure.
Example, generating Neo4j GraphQL Schema and Neo4j OGM at build time (saving more than 2 sec of runtime!):
import { Neo4jGraphQLConstructor } from "@neo4j/graphql"; import { OGM } from "@neo4j/graphql-ogm"; const neoSchema: Neo4jGraphQLConstructor = { resolvers: { ...resolvers, ...scalars, }, typeDefs: typeDefs, driver, }; const ogm = new OGM(neoSchema); export async function getSchemaOgm(): Promise<[GraphQLSchema, void]> { return Promise.all([neoSchema.getSchema(), ogm.init()]); }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the problem this feature would solve?
Allow running JavaScript functions a Bundle-Time (Macros) that returns a circular structure.
Example, generating Neo4j GraphQL Schema and Neo4j OGM at build time (saving more than 2 sec of runtime!):
What is the feature you are proposing to solve the problem?
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: