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
fix: null values on ValidatedTomeTopic get
- bind functions on first level attributes
- Do not return data if it is not explicitly set on the data
(was returning default values)
fix: strip null values from mget
MAGE's mget implementation does not return the index along
with the data, meaning that values not being found are nulled.
With mage-validator, we return objects with a method to return the
index, and therefore this behavior is not needed.
@mapof validation function, index/data type check
Added an optional function parameter to @mapof; the goal is
to allow for validation against map keys.
Indexes and `Topic.create` optional data are now type-checked
against the topic index class and the topic class respectively.
Auto-loading, error and unknown events, app
* MessageTypes can be auto-loaded
* MessageEmitter can auto-load event handlers from files
* Event.Unknown, Event.Ignored and Event.Error for MessageEmitter
* Skeleton for example app
Fixes#3