You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consttypeDefs=gql` enum AllowedColor { RED GREEN BLUE } type Query { pickColor(color: AllowedColor): String }`;constresolvers={AllowedColor: {RED: '#f00',GREEN: '#0f0',BLUE: '#00f',},Query: {pickColor(_,{ color }){returncolor;}}};
schemaComposer.addResolveMethods() doesn't like the AllowedColor map
The text was updated successfully, but these errors were encountered:
Is there support for the following ?
schemaComposer.addResolveMethods()
doesn't like theAllowedColor
mapThe text was updated successfully, but these errors were encountered: