I’m trying to allow for multiple inputs of a given type for a particular field in the JSON schema of my custom resolver’s custom input. See the after field below:
{
"type": "object",
"title": "paginateOrdersInput",
"properties": {
"pageSize": {
"bsonType": "int"
},
"after": {
"bsonType": [
"date",
"null"
]
}
},
"required": [
"pageSize"
]
}
This passes validation but I do not have the option of using the after field in the input in GraphiQL:
Is it possible to have multiple input types for a particular field when using GraphQL in Realm?
I’ve also experimented with anyOf to no avail using a similar example to that found here:
https://json-schema.org/understanding-json-schema/reference/combining.html