mirumee/ariadne

Validate that root resolvers are set

オープン

#187 opened on 2019/05/29

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (194 件のフォーク)batch import
enhancementhelp wantedto do

Repository metrics

Stars
 (2,342 個のスター)
PR merge metrics
 (平均マージ 12d) (30d で 3 merged PRs)

説明

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.

コントリビューターガイド