Nova | Grapher 2.0
NOVA is a Data Fetching Layer on top of bluelibs/nova, Meteor and MongoDB.
How to install:
meteor add pmogollons:nova
Important installation note
To be able to use this package with Users collection, you need to make sure that it is the first package that is loaded in the project.
Companion packages
Differences with the original Grapher:
- No pub/sub (no reactivity), only methods
- No meta links and meta filters
- No linker engine (removed getLink, set, unset, add, remove, metadata)
- No $postFilters or $postOptions
- All reducers reduce function should be async
- Removed fetch, fetchSync, fetchOne and fetchOneSync, now use fetchAsync and fetchOneAsync
- No denormalization
- No global or collection expose
- No graphQL bridge
- foreignIdentityField is now foreignField
Changes and new features:
- Firewalls and reducers are async
- Filtered links (new)
- Link aliasing (new)
- $ key for filters and options (new)
- Support to hook into the mongodb pipeline for advanced queries (new)
- Dynamic filters (new)
- Reducers have extendable context with userId (new)
- Support for transactions (new)
- cache option for exposures (new)
Documentation
This provides a learning curve for Nova, and it explains most basic the features. If you want to visualize the documentation better, check it out here: