How should types like `Country = “United States” | “Canada” | …` be represented in GraphQL?

后端 未结 0 1325
渐次进展
渐次进展 2021-02-01 03:26

Using https://graphql-code-generator.com/, the type in GraphQL is just set to String, but in my client code with the dropdown input, the type is more specific becau

相关标签:
回答
  • 消灭零回复
提交回复
热议问题