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
Describe the bug
When defining a collection, ElectroDB validates composite attributes without checking the field property. Since collections map to DynamoDB queries, and composite key attributes are mapped to DynamoDB names using the field property if it's specified, the collection validator should take this property into account.
ElectroDB Version 2.14.1
ElectroDB Playground Link
N/A
Entity/Service Definitions
Include your entity model (or a model that sufficiently recreates your issue) to help troubleshoot.
The text was updated successfully, but these errors were encountered:
raryanpur
changed the title
Collection validation should respect field property of attributes
Collection validation should respect field property of composite attributes
Jun 17, 2024
raryanpur
changed the title
Collection validation should respect field property of composite attributes
Collection validation should check field property of composite attributes
Jun 17, 2024
Describe the bug
When defining a collection, ElectroDB validates composite attributes without checking the
field
property. Since collections map to DynamoDB queries, and composite key attributes are mapped to DynamoDB names using thefield
property if it's specified, the collection validator should take this property into account.ElectroDB Version
2.14.1
ElectroDB Playground Link
N/A
Entity/Service Definitions
Include your entity model (or a model that sufficiently recreates your issue) to help troubleshoot.
Expected behavior
The collections schema validator should check the
field
property during schema validation and the above should succeed.Errors
The text was updated successfully, but these errors were encountered: