Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想设置一个查询,为同一参数发送多个枚举。
test_query(enum:FIRST,SECOND){ stuffs }
看来这在 graphql-JS 中是不可能的,但我不确定。
您只需将它们包裹起来[]
[]
test_query(enum:[FIRST,SECOND]){ stuffs }