Skip to content

Parsing schema definition language #126

@guiwoda

Description

@guiwoda

Is there any way to parse a Schema Definition Language file with this library?
I'd rather write type definitions the GraphQL way than using php arrays and custom-made objects, so that my definitions are valid as long as the GraphQL spec remains compatible.

I can't find any example that does something like:

$schema = Schema::parse(
    file_get_contents('schema.graphsqls')
);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions