Skip to content

Validate that root resolvers are set #187

Open
@rafalp

Description

@rafalp

Ariadne's make_executable_schema should by default check if fields on Query, Mutation and Subscription have set resolvers, and raise ValueError with appropriate type and field names to save dev from forgetting about those.

This option should be disableable in the case when API relies heavily on root_value or its only to keep schema browseable.

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