@omnigraph/neo4j
Version:
13 lines (12 loc) • 341 B
JavaScript
import { loadGraphQLSchemaFromNeo4J } from './schema.js';
export function loadNeo4JSubgraph(name, opts) {
return ({ logger }) => ({
name,
schema$: loadGraphQLSchemaFromNeo4J(name, {
...opts,
logger,
}),
});
}
export * from './schema.js';
export * from '@graphql-mesh/transport-neo4j';