mirumee/ariadne

Validate that root resolvers are set

Ouverte

#187 ouverte le 29 mai 2019

 (2 commentaires) (0 réaction) (0 personne assignée)Python (195 forks)batch import
enhancementhelp wantedto do

Métriques du dépôt

Stars
 (2 342 étoiles)
Métriques de merge PR
 (Merge moyen 12j) (3 PRs mergées en 30 j)

Description

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.

Guide contributeur