v1.3.0 — GraphQL SDL Format Support
·
142 commits
to master
since this release
v1.3.0 — GraphQL SDL Format Support
New Format: GraphQL SDL (9th format)
SchemaForge now supports GraphQL Schema Definition Language as a first-class format:
- Parse files with type definitions, enums, input types, directives
- Generate clean SDL with proper non-null (!) annotations
- Full roundtripping through the internal representation
- Cross-format conversion with all 8 existing formats
Parser
GraphQLParser: handlestype,enum,input,scalardefinitions- Supports
@unique,@default,@iddirectives - Handles nullable (!), list types ([Type]), and nested type references
- Ignores Query/Mutation/Subscription root types
Generator
GraphQLGenerator: produces clean SDL from Schema IR- Automatic
IDtype for primary-key id columns - Proper non-null annotations (!) for required fields
- Enum definitions with values list
- Custom scalar declarations
CLI
--from graphqland--to graphqlnow available- 9 formats total: sql, prisma, drizzle, typeorm, django, sqlalchemy, alembic, json_schema, graphql
Testing
- 16 new tests: parsing, generation, roundtrip, cross-format
- Fixture file:
fixtures/sample.graphql - Total: 205 tests passing