A virtual value that is not stored in the DB. This could for example be useful if you want to provide a default value in your model that is returned to the user but not stored in the DB.
A virtual value that is not stored in the DB. This could for example be useful if you want to provide a default value in your model that is returned to the user but not stored in the DB.
You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example:
You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example:
...
@@ -246,10 +246,11 @@ Return type is mostly usefull for setups that rely on types like GraphQL.
...
@@ -246,10 +246,11 @@ Return type is mostly usefull for setups that rely on types like GraphQL.