How do I set up GraphQL query so one or another argument is required, but not both

前端 未结 2 514
感动是毒
感动是毒 2021-01-14 01:34

I\'m just getting to grips with GraphQL,

I have set up the following query: ​

type: UserType,
args: {
    id:    { name: \'id\',    type: new GraphQL         


        
2条回答
提交回复
热议问题