Commit graph

12 commits

Author SHA1 Message Date
Eric Burel
284cdbae18 start splitting code, reuse options handler 2018-10-29 22:08:41 +01:00
Erik Dakoda
d5b677e28d - Added collection.options.singleResolverName and .multiResolverName to stay DRY
- In withMulti, fixed how loadMoreInc passes variables to fetchMore
- Added the "allowNull" option to single resolver to return null instead of throwing a MissingDocumentError
- Added extended SimpleSchema options to support "unique" field property (field can be used as part of a selectorUnique when querying for data)
- When generating schema, populate fields.selector and fields.selectorUnique
2018-09-10 06:16:00 -04:00
Eric Burel
7dcd8fc6ac cleanup quotes and added rule to eslint 2018-09-05 19:40:19 +02:00
Eric Burel
17f96712ff cleaned up the options management in hocs
Will fix issues when not specifying a fragmentName in withDelete
2018-09-05 16:53:51 +02:00
ochicf
f67e996168 fix: avoid adding multiple times the same document 2018-09-04 11:22:11 +02:00
SachaG
a388e1663f Renaming 2018-08-29 20:36:36 +09:00
SachaG
b2fc0d0c5b Use Utils.pluralize function 2018-07-04 11:11:46 +02:00
SachaG
60f47a5189 Various small fixes (thanks @justinr1234) 2018-06-08 13:31:15 +09:00
SachaG
c8b57ab60e Fix withMulti 2018-06-06 07:36:25 +09:00
SachaG
84d08e9bf9 Adapt withCreate, withUpdate, withUpsert, withDelete 2018-06-05 16:07:38 +09:00
SachaG
20db318c40 More work on withMulti and withSingle 2018-06-05 12:12:04 +09:00
SachaG
809bdd05de Adapting withMulti and withSingle 2018-06-05 11:51:25 +09:00
Renamed from packages/vulcan-core/lib/modules/containers/withList.js (Browse further)