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
I was trying to perform listTodo filtering based on a boolean value and seeing unexpected behaviour where its looking string value for both boolean and Integer fields
@sushpatg this bug is fixed in the latest version of @aws-amplify/data-schema. Please run npm update @aws-amplify/data-schema to get the patched version.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Environment information
Description
I was trying to perform listTodo filtering based on a boolean value and seeing unexpected behaviour where its looking string value for both boolean and Integer fields
Query:
Error :
Type 'boolean' is not assignable to type 'string'
Type 'number' is not assignable to type 'string'
This is not the behavior when using v5r or v6 code of 'aws-amplify/api'
The text was updated successfully, but these errors were encountered: