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
Otherwise when submitting empty strings for lon and lat values the validation will always fail (because an array of empty values is submitted as value for the attribute, while Trellis just checks for NULL, empty-string, or null-island, as accepted NULL values).
The AggregateRootTypeCommandValidator should consider this case and set then a proper value, taking in account the option null_island_as_null.
I am not sure though how to deal with that in the case where just one of the two coordinates is specified.
The text was updated successfully, but these errors were encountered:
AggregateRootTypeCommandValidator could be improved in its default behaviour when dealing with a GeoPoint attribute.
At the moment we need to explicitly specify, in the entity schema:
Otherwise when submitting empty strings for lon and lat values the validation will always fail (because an array of empty values is submitted as value for the attribute, while Trellis just checks for NULL, empty-string, or null-island, as accepted NULL values).
The AggregateRootTypeCommandValidator should consider this case and set then a proper value, taking in account the option null_island_as_null.
I am not sure though how to deal with that in the case where just one of the two coordinates is specified.
The text was updated successfully, but these errors were encountered: