Official GraphQL integration package for the CORMO ORM framework (v2.3.0). Provides decorators and utilities to expose CORMO models as GraphQL types and resolve database queries automatically from GraphQL queries. Integrates with apollo-server and express-graphql. Designed for Node.js 22+. Python CORMO is a separate project; this is the TypeScript/Node.js implementation. Release cadence is tied to CORMO monorepo releases, typically quarterly.
npm install cormo-graphqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a CORMO model with GraphQL decorators and exposes its GraphQL schema.
Use @GraphQLObjectModel and @GraphQLField decorators on your CORMO model classes.
Use the recommended getter method if available; refer to current docs.
Migrate from SDL string to decorator-based model definitions as shown in the quickstart.
Run: npm install cormo-graphql
Ensure you create a CORMO instance and set it globally before defining models: const db = new CORMO('sqlite3', { database: ':memory:' }); (db must be defined before model class definitions)Verify that the model class has @GraphQLObjectModel() and all relevant fields have @GraphQLField() decorators.
No dependency data recorded yet.