Can I make variables optional in a GraphQL query?

前端 未结 0 793
旧巷少年郎
旧巷少年郎 2021-01-02 09:19

I have a query that includes a variable $filter which is a string.

This variable is only relevant if the user has said they want to filter the results. If user doesn\

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