meteor-astronomy

Model layer for Meteor

MIT License

Stars
606
Committers
22

Bot releases are visible (Hide)

meteor-astronomy - Latest Release

Published by lukejagodzinski about 5 years ago

  • Fix #697
meteor-astronomy -

Published by lukejagodzinski over 5 years ago

meteor-astronomy -

Published by lukejagodzinski almost 6 years ago

  • Fix #671 by introducing several logging flags:
import { config } from "meteor/jagi:astronomy";

config.logs.deprecation = false; // Turn off deprecation warnings.
config.logs.nonExistingField = false; // Turn off warnings about non existing fields.
config.logs.classDuplicate = false; // Turn off class duplication warnings.
config.logs.typeDuplicate = false; // Turn off type duplication warnings.
meteor-astronomy -

Published by lukejagodzinski almost 6 years ago

  • Fix issue #694
    You can limit list of modified fields from the getModified and getModifiedValues methods to only include fields that will actually be saved using the save({ fields: [/* list of fields */] }) option.
beforeSave(e) {
  const doc = e.target;
  console.log(doc.getModified({ fields: e.fields }));
  console.log(doc.getModifiedValues({ fields: e.fields }));
}
meteor-astronomy -

Published by lukejagodzinski almost 6 years ago

  • Workaround for the issue #694. From now all the storage operation options are being passed to the event object. For example when calling the save method:
user.save({ fields: ["firstName"] });

The fields option will be available in the event handler.

events: {
  beforeSave(e) {
    if (
      e.fields &&
      e.fields.includes("firstName") &&
      e.currentTarget.isModified("firstName")
    ) {
      // Do something...
    }
  }
}
meteor-astronomy -

Published by lukejagodzinski about 6 years ago

  • Revert to previous behavior before fix #689
meteor-astronomy -

Published by lukejagodzinski about 6 years ago

  • Fix #689
meteor-astronomy -

Published by lukejagodzinski about 6 years ago

meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • Warn about type and class duplicates
meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • the getValues method for the Enum types #669
meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • Pass error to the callback function (if provided) on an error in the /Astronomy/execute method
meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • Set throwStubExceptions to true for the /Astronomy/execute method
meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • Create Meteor methods for local collections
meteor-astronomy -

Published by lukejagodzinski over 6 years ago

  • Fix #652
meteor-astronomy -

Published by lukejagodzinski about 7 years ago

  • Add the forceUpdate option to the save method #568
meteor-astronomy -

Published by lukejagodzinski about 7 years ago

  • Fix #645 use the _createUpsertDocument function when _removeDollarOporators is missing
meteor-astronomy -

Published by lukejagodzinski about 7 years ago

  • Do not support Meteor versions lower than 1.3 #642
  • Fix problem with saving arrays of undefineds / nulls #644
meteor-astronomy -

Published by lukejagodzinski over 7 years ago

  • Provide a fallback for not finding a document with an ID when calling Meteor method #630
meteor-astronomy -

Published by lukejagodzinski over 7 years ago

  • Fix #627
meteor-astronomy -

Published by lukejagodzinski over 7 years ago

  • Fix #625 and add Enum type tests