mirumee/ariadne

Validate that root resolvers are set

開放

#187 建立於 2019年5月29日

 (2 則留言) (0 個反應) (0 位負責人)Python (194 個分叉)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.

貢獻者指南