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
The relationModel is useful for simple models only with only a few relations.
But in real world projects, every model has many relations. In ein ERP solution i would like to validate an invoice with its items (related to invoice). But i don't want to validate the related customer, or products related to the items.
So for me the relationModel ist mostly useless. I would like to have (an additional) relationModel for every model (ex. optionalRelationModel) which has all relations as optional() so i could validate only the things i want.
Thanks
The text was updated successfully, but these errors were encountered:
The relationModel is useful for simple models only with only a few relations.
But in real world projects, every model has many relations. In ein ERP solution i would like to validate an invoice with its items (related to invoice). But i don't want to validate the related customer, or products related to the items.
So for me the relationModel ist mostly useless. I would like to have (an additional) relationModel for every model (ex. optionalRelationModel) which has all relations as optional() so i could validate only the things i want.
Thanks
The text was updated successfully, but these errors were encountered: