- Remove need to pass request object as it is an attribute in the model #PR 40
- The data for active models can now automatically initialise #PR 37
- Assign attributes will create an active model if it does not exist #PR 38
- Add the ability to create new models while saving models #PR 30
- Add the ability to save when there is an array of models #PR 31
- Change IDs so they are strings for both static and active models #PR 31 & #PR 32
- Add the
Request
object as an attribute on the active model #PR 28
- Update and add some date helpers #PR 26
- Fix some issues with validations #PR 24
- Add date validations and the ability to assign date attributes #PR 21
- Fix anothor issue with the assign attributes method and the static model validator #PR 19
- Fix issue with the assign attributes method #PR 17
- There are now callback functions available for active models #PR 15
- Small update to improve the cast method #PR 12
- When assigning attributes, you can now pass arrays #PR 10
- While adding tests to the framework, a bug was found in
formatDate
which was fixed
- First release of CCS Prototype Kit Model Interface.
This package can be integrated with GOV.UK Prototype Kit adding features such as:
- Models
- Validations
- A data structure and interface to work with the prototype