ignore field case

This commit is contained in:
Hongbo Wu
2023-12-12 16:17:31 +08:00
parent 55cc5f5769
commit 7622d8a139

View File

@ -205,7 +205,7 @@ export const buildQuery = (
if (field.type === 'ImplicitField') {
return serializeImplicitField(expression)
} else {
switch (field.name) {
switch (field.name.toLowerCase()) {
case 'in': {
if (expression.type !== 'LiteralExpression') {
throw new Error('Expected a literal expression.')