Skip to content

Conversation

@ddidgdimitrov-infragistics
Copy link
Collaborator

@ddidgdimitrov-infragistics ddidgdimitrov-infragistics commented Aug 26, 2025

Made all address fields nullable in the Dto object.
Also all field are made nullable in the Db object, as EF is throwing an exception if we try to save null in the DB.
Phone number regex to support dashes and phones starting with 0

@ddidgdimitrov-infragistics ddidgdimitrov-infragistics linked an issue Aug 26, 2025 that may be closed by this pull request
@ddidgdimitrov-infragistics ddidgdimitrov-infragistics changed the title Make address fields nullable Make address fields nullable, improve phone regex to support dashes Aug 26, 2025
@ddidgdimitrov-infragistics ddidgdimitrov-infragistics force-pushed the dgdimitrov/make-address-fields-nullable branch from 62d3c93 to 551ee27 Compare August 26, 2025 13:43
@zdrawku
Copy link
Contributor

zdrawku commented Aug 27, 2025

@hanastasov @ddidgdimitrov-infragistics lets leave at least one nested prop in order to cover this scenario.

@hanastasov hanastasov merged commit 1eefa1d into main Aug 28, 2025
4 checks passed
@hanastasov
Copy link
Contributor

Sorry Zdravko I merged and then I saw the comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reevaluate which fields need to be required

5 participants