In Playground under the tab "Schema" I'm getting all the fields and queries being deprecated (without reason) even though in code there are no deprecated fields or queries marked
enum MyEnum {
value1 @deprecated
value2 @deprecated
value3 @deprecated
value4 @deprecated
}
myEum := graphql.NewEnum(graphql.EnumConfig{
Name: "MyEnum",
Values: ValuesToGraphQLEnum(DB.Data()),
Description: "some description",
,
)
func ValuesToGraphQLEnum(values []EnumData) graphql.EnumValueConfigMap {
enum := make(graphql.EnumValueConfigMap)
for _, v := range values {
enum[v.Name] = &graphql.EnumValueConfig{
Value: v.ID,
}
}
return enum
}
In Playground under the tab "Schema" I'm getting all the fields and queries being deprecated (without reason) even though in code there are no deprecated fields or queries marked
Schema in Playground
code: