mirumee/ariadne

Validate that root resolvers are set

开放

#187 创建于 2019年5月29日

 (2 条评论) (0 个反应) (0 位负责人)Python (195 个派生)batch import
enhancementhelp wantedto do

仓库指标

星标
 (2,342 个星标)
PR 合并指标
 (平均合并 12天) (30 天内合并 3 个 PR)

描述

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.

贡献者指南