Skip to content

Instantly share code, notes, and snippets.

@hi019
Created December 3, 2021 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hi019/13596e93f73ca0edf9379c85d269e2b4 to your computer and use it in GitHub Desktop.
Save hi019/13596e93f73ca0edf9379c85d269e2b4 to your computer and use it in GitHub Desktop.
"panic":"pql error":"Error in query graph construction":"QueryParserError(QueryParserError"{
"path":"QueryPath"{
"segments":[
"Mutation",
"updateOnePost",
"data"
]
},
"error_kind":"InputUnionParseError"{
"parsing_errors":[
"QueryParserError"{
"path":"QueryPath"{
"segments":[
"Mutation",
"updateOnePost",
"data",
"PostUpdateInput",
"categories",
"CategoryUpdateManyWithoutPostsInput",
"connect"
]
},
"error_kind":"InputUnionParseError"{
"parsing_errors":[
"QueryParserError"{
"path":"QueryPath"{
"segments":[
"Mutation",
"updateOnePost",
"data",
"PostUpdateInput",
"categories",
"CategoryUpdateManyWithoutPostsInput",
"connect"
]
},
"error_kind":"ValueTypeMismatchError"{
"have":"List("[
"Object("{
"id":"Object("{
"in":"List("[
Int(1)
]")"
}")"
}")"
]")",
"want":"Object(CategoryWhereUniqueInput)"
}
},
"QueryParserError"{
"path":"QueryPath"{
"segments":[
"Mutation",
"updateOnePost",
"data",
"PostUpdateInput",
"categories",
"CategoryUpdateManyWithoutPostsInput",
"connect",
"CategoryWhereUniqueInput",
"id"
]
},
"error_kind":"ValueTypeMismatchError"{
"have":"Object("{
"in":"List("[
Int(1)
]")"
}")",
"want":"Int"
}
}
]
}
},
"QueryParserError"{
"path":"QueryPath"{
"segments":[
"Mutation",
"updateOnePost",
"data",
"PostUncheckedUpdateInput",
"categories"
]
},
"error_kind":"FieldNotFoundError"
}
]
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment