1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Unfortunately, currently we are not supporting limit increase for enhanced filters.
However, as a workaround, you can use OR functionality to overcome the 5 element restriction on in operator. For example:
{
"filterGroup": [
{
"filters" : [
{
"fieldName" : "severity",
"operator" : "in",
"value" : [1, 2, 3, 4, 5]
}
]
},
{
"filters" : [
{
"fieldName" : "severity",
"operator" : "in",
"value" : [6, 7, 8, 9, 10]
}
]
},
]
}
This is also mentioned on our AWS Doc under the section - "Note that there are several restrictions for using filters:" which I am adding here for your reference.
https://docs.aws.amazon.com/appsync/latest/devguide/extensions.html
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago