Open DaniGuardiola opened 6 years ago
Inspired by #5 and based on the latest version in master, I implemented an option __allowCreation that will receive an array of property keys that will be allowed to be set at creation.
master
__allowCreation
For explanation and example check the updated README.
Added a specific test.
Might be worth it adding another test to check if update of whitelisted properties still fails.
Not sure about the instance id fix I introduced...
Inspired by #5 and based on the latest version in
master
, I implemented an option__allowCreation
that will receive an array of property keys that will be allowed to be set at creation.For explanation and example check the updated README.
Added a specific test.