I would like to create a parameter object on the client side, so I dont need too many parameters.
I want to do something like this:
input Options {
option1: String
option2: String
}
query test($param: Options) {
test(option1: $param.option1, option2: $param.option2) {
id
}
}
$param.option1 is not supported. Is there any way to access attributes of an object parameter?