Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Graphql:一对多删除突变_Graphql_React Apollo - Fatal编程技术网

Graphql:一对多删除突变

Graphql:一对多删除突变,graphql,react-apollo,Graphql,React Apollo,我有一个简单的Graphql模型用户,与模型帖子有一对多的关系。我想执行一个变异,删除用户和所有后续相关帖子。我应该如何构造突变

我有一个简单的Graphql模型用户,与模型帖子有一对多的关系。我想执行一个变异,删除用户和所有后续相关帖子。我应该如何构造突变