Files
markitect-main/markitect/graphql/__init__.py
tegwick 2a15dde228
Some checks failed
Test Suite / performance-tests (push) Has been cancelled
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
feat: implement GraphQL write interface with mutations (issue #10)
Added comprehensive GraphQL mutations for CRUD operations on markdown files and schemas.

Key features:
- Complete mutation schema with structured payload types
- Markdown file mutations: add, update with front matter support
- Schema mutations: add, update, delete with JSON validation
- CLI integration with `graphql-mutate` command
- Comprehensive error handling and validation
- Full test coverage with 24 test cases
- Updated documentation with mutation examples and API usage

Resolves issue #10: Expose a GraphQL Write Interface

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 16:48:03 +02:00

12 lines
378 B
Python

"""
GraphQL interface for MarkiTect - Issue #9
This package provides a GraphQL read interface for querying MarkiTect's
database content including Markdown files, ASTs, and schemas.
"""
from .schema import schema
from .server import GraphQLServer, GraphQLClient
from .resolvers import Query, Mutation
__all__ = ['schema', 'GraphQLServer', 'GraphQLClient', 'Query', 'Mutation']