Injecting a variable into a GraphQL filter query

前端 未结 0 526
我寻月下人不归
我寻月下人不归 2021-02-12 16:36

I\'m trying to inject a variable into a query filter:

query getProductsByTag($tag: String!) {
  products(query: "tag:$tag" first: 20) {
    edges {
             


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