We have a mutation resolver that uses RDS datasource, where the mapping template will compose a variableMap with date strings in ISO formats.
For example, when running these SQL statements for either insert or update with the date string 1970-01-01T00:00:00Z
inside the variableMap
, the RDS Data API returns the following error.
RDSHttp:{"message":"Cannot find parameter: 00"}
It seems that RDS data source is trying to recursively replacing variables with values, even if those are already inside a variableMap
.
Is there a workaround for this?
How do I provide date-time values for RDS resolvers?