mirumee/ariadne

Investigate if set_default_enum_values_on_schema utility is needed anymore.

Open

#1,015 opened on Jan 26, 2023

 (0 comments) (0 reactions) (0 assignees)Python (194 forks)batch import
enhancementhelp wantedto do

Repository metrics

Stars
 (2,342 stars)
PR merge metrics
 (Avg merge 12d) (3 merged PRs in 30d)

Description

Since few versions GraphQLEnumType sets default Python representations for enum values to strings from their names - exactly the case set_default_enum_values_on_schema takes care of. We should investigate if this is also done when enums are created from SDL string.

Contributor guide