@@ -50,7 +50,7 @@ Assuming a running Neo4j database at "neo4j://localhost:7687" with username "use
5050import { ApolloServer } from "@apollo/server";
5151import { startStandaloneServer } from "@apollo/server/standalone";
5252import { Neo4jGraphQL } from "@neo4j/graphql";
53- import OGM from "@neo4j/graphql-ogm";
53+ import { OGM } from "@neo4j/graphql-ogm";
5454import neo4j from "neo4j-driver";
5555
5656import { createJWT, comparePassword } from "./utils.js"; // example util function, more information below
@@ -73,7 +73,7 @@ const typeDefs = `#graphql
7373 }
7474`;
7575
76- const ogm = new OGM.OGM ({ typeDefs, driver });
76+ const ogm = new OGM({ typeDefs, driver });
7777const User = ogm.model("User");
7878
7979const resolvers = {
@@ -247,7 +247,7 @@ Assuming a running Neo4j database at "bolt://localhost:7687" with username "user
247247[source, javascript, indent=0]
248248----
249249import express from "express";
250- import OGM from "@neo4j/graphql-ogm";
250+ import { OGM } from "@neo4j/graphql-ogm";
251251import neo4j from "neo4j-driver";
252252
253253const driver = neo4j.driver(
@@ -262,7 +262,7 @@ const typeDefs = `
262262 }
263263`;
264264
265- const ogm = new OGM.OGM ({
265+ const ogm = new OGM({
266266 typeDefs,
267267 driver,
268268 features: { filters: { String: { MATCHES: true } } },
0 commit comments