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
* Update the tests to reproduce the initialisation error
* Fix the initialisation error
* Remove TODO comment
* Allow non-string trait values
* Allow non-string trait types
* Basic tests
* Make Trait's value to be any type and add getters
* Update Trait model
* Add more variations of mocked responses
* Update TraitEntity tests
* Add getters to TraitWithIdentity
* Pass traitValue to TraitWithIdentity in setTrait() method
* Add tests to different Trait value's type when setting Trait
* Use traitValue in TraitsEndpoint
* Update value deprecation message
* Remove unnecessary constructors from Trait model
* Use stringValue instead of value in tests
* Add constructors that accept strict-typed value
* Check the value type to be one of supported in Trait's init
* Update to make the convenience constructors more explicit and also verify the original behaviour
* Remove unneeded constructor keyword
* Make sure we're using the old 'value' parameter
* Updated the TraitWithIdentity in-line with the Trait class and added unit tests
---------
Co-authored-by: Matthew Elwell <[email protected]>
Co-authored-by: Vitaly Zeenko <[email protected]>
0 commit comments