Alban Jubert
96c153f110
* Small refactoring.
...
* Changed the way exceptions are thrown and handled during afterSave event (add error to relation attribute of the owner model, forced rollback if relevant)
7 years ago
Alban Jubert
4e0ec16f6d
Enh #3 : Added the abilty to specify the validation scenario for related records
...
Exception is now thrown (with a transaction rollback when relevant) in case a related record could not be saved during afterSave event
7 years ago
Alban Jubert
30377e1054
Preparing for enhancements #3 , #5 and #15 to be able to set per relation properties
7 years ago
Alban Jubert
73fc64d24e
Fixed: Issue #13
8 years ago
Alban Jubert
abf79e18d8
Fix for empty value assignment on HasMany relations
8 years ago
Alban Jubert
49cae2c76b
Fix for issue #12
8 years ago
Alban Jubert
e1dfd78708
Fix for issue #12
8 years ago
Alban Jubert
89b319a28c
Add license.
...
Add gitlab ci configuration.
Add single relation assignment test.
8 years ago
Alban Jubert
797849e6a3
Add missing ProjectNoTransactions model test class
9 years ago
Alban Jubert
75450aa185
Documentation fix. More unit tests added.
9 years ago
Alban Jubert
6123fa2c9a
Enhancement #4
...
- loadRelations() has been added to be able to load relations data from a data array
- SaveRelationsTrait has been added. It gives the ability to overload the load() method of the owner model to be able to load batch relations
9 years ago
Alban Jubert
c8cd72a7fa
Fix #2 issue: hasMany() relations are correctly saved now
9 years ago
Alban Jubert
b917ed195f
Fix #1 issue: Setting null for a named relation is correctly handled now
9 years ago
Alban Jubert
dcc11984cd
Initial commit
9 years ago