0.4.0 Beta (2020-01-13)
Introducing the @Entity
decorator for model classes. This decorator provides custom naming capabilities,
the ability to filter which auto-entity pre-fab effects handle each model, as well as define a default
comparer for sorting entities retrieved with a new .sorted$ stream on pre-fab facades.
Features
- decorators: Add
@Entity
decorator for models with modelName, pluralName, uriName properties (#70) - decorators: Add
excludeEffects
functionality to@Entity
decorator for filtering which effects handle entity - decorators: Add
comparer
property to@Entity
decorator to support selecting sorted entities (#58) - selectors: Add
selectAllSorted
selector that uses entity comparer to sort on selection (#58) - facades: Add
sorted$
stream to return all entities in sorted order fromselectAllSorted
selector (#58)
Internal
- decorators: Moved all decorators into internal /lib/decorators directory (will break direct imports, use public api!)