Skip to content

Parsing schema definition language #126

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')
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions