# protograph-core
Core types and SDL parsing for [protograph](https://github.com/alexchoi0/protograph).
This crate provides:
- GraphQL SDL parser with custom directive support
- AST types (`ProtographSchema`, `EntityType`, `Field`, `Relationship`)
- Schema validation
## Usage
This is an internal crate. Most users should use `protograph-build` instead.
```rust
use protograph_core::{parse_schema_file, validate_schema};
let schema = parse_schema_file(sdl_content)?;
validate_schema(&schema)?;
```
## License
MIT OR Apache-2.0