We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug replaceAll is not a supported function. We need to fall back to replace with RegExp.
replaceAll
RegExp
TypeError: statmnt.replaceAll is not a function at .../node_modules/serverless-appsync-simulator/lib/data-loaders/RelationalDataLoader.js:129:20
To Reproduce Create a Query on and RDS Data source with variableMap
variableMap
{ "version": "2018-05-29", "statements": [ "SELECT :VALUE" ], "variableMap": { ":VALUE": "$ctx.args.value" } }
Run it and watch it break.
Expected behavior The query returns the value in the response $ctx.result
$ctx.result
The text was updated successfully, but these errors were encountered:
Another solution to this, is upgrading to NodeJS >v15
Sorry, something went wrong.
No branches or pull requests
Describe the bug
replaceAll
is not a supported function. We need to fall back to replace withRegExp
.To Reproduce
Create a Query on and RDS Data source with
variableMap
Run it and watch it break.
Expected behavior
The query returns the value in the response
$ctx.result
The text was updated successfully, but these errors were encountered: