query ($saasId: Int, $xinlingshouId: Int, $withApi: Boolean!) { SaaS: group(id: $saasId) { id name apis @include(if: $withApi) { id name code: uri } } xinlingshou: group(id: $xinlingshouId) { id name apis @skip(if: $withApi) { id name code: uri } } }
变更
1 2 3 4 5 6 7
mutation { aman(name: "Bob", sex: "female", ago: 30) { name ago sex } }