i want to use schema stitching, but i have problem with mutation extend, maybe with passing argument.
my following code for schema stitching
extend type Mutation {
space(value: SpaceInput): Int! @delegate(schema: "matterport", path: "space(value: $arguments:value)")
}
and i get following error
{
"errors": [
{
"message": "The variable `__arguments_value` is not compatible with the type of the current location.",
"locations": [
{
"line": 2,
"column": 5
}
],
"path": [
"space"
],
"extensions": {
"variable": "__arguments_value",
"variableType": "SpaceInput",
"locationType": "SpaceInput!",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variable-Usages-are-Allowed",
"remote": {
"message": "The variable `__arguments_value` is not compatible with the type of the current location.",
"path": [
"space"
],
"extensions": {
"variable": "__arguments_value",
"variableType": "SpaceInput",
"locationType": "SpaceInput!",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variable-Usages-are-Allowed"
}
},
"schemaName": "matterport"
}
}
]
}
Can you help me
I am trying multiple passing argument but i get same result as i describe in error.