Skip to content

Queries default value

Latest
Compare
Choose a tag to compare
@javierbrea javierbrea released this 16 Oct 06:22
a24de51

Added

  • Add "queriesDefaultValue" option. If defined, queried instances will have default value corresponding to the value of query "key" in the default value object. If not, the behavior of "default value" will be the same than in previous versions, and will return the full object even for queried instances)
  • Add "uuid" and "tags" options.
  • Accept options object as second argument. (And still accepts "id" as second argument, and options as third argument in order to maintain retro-compatibility)

Changed

  • Emit "clean" event over root instance when an "update" is executed on any queried instance. (Full object is modified too).
  • Upgrade mercury version and define it as peer dependency.
  • Upgrade devDependencies.