You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let´s say that I have a table called "users". I´ve set the age as the sort key of a LSI for that table. I defined it as N within the attributeTypes. When I try to create a user, it sends the following message: "One or more parameter values were invalid: Type mismatch for Index Key "age" Expected: N Actual: S" I am sending a N but it is forcing it to string within the recursiveParseEntity method of this file: https://github.com/typedorm/typedorm/blob/v1.16.0-beta.2/packages/core/src/classes/transformer/base-transformer.ts.
The text was updated successfully, but these errors were encountered:
Let´s say that I have a table called "users". I´ve set the age as the sort key of a LSI for that table. I defined it as N within the attributeTypes. When I try to create a user, it sends the following message: "One or more parameter values were invalid: Type mismatch for Index Key "age" Expected: N Actual: S" I am sending a N but it is forcing it to string within the recursiveParseEntity method of this file: https://github.com/typedorm/typedorm/blob/v1.16.0-beta.2/packages/core/src/classes/transformer/base-transformer.ts.
The text was updated successfully, but these errors were encountered: