Skip to content

Validate schema before using it for resolution #62

Open
@jml

Description

@jml

In #42, @teh and I both agreed that we should ideally not be checking for schema validity while we are resolving values.

The difficulty is that we need to construct values from the type-level schema in order to do the work of resolution.

The solution, as I see it, is to construct a value-level representation of the schema before resolving and to pass that as a parameter to buildResolver. As we traverse down the selection set that represents the user query, we would also traverse down the value-level schema, shucking off the top-most layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions