Commit graph

30 commits

Author SHA1 Message Date
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
SachaG
d0395661ed Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-06 16:31:13 +09:00
SachaG
69901e10eb Rename newDocument to data 2018-09-06 16:31:10 +09:00
ochicf
3ae4fda0c3 pass collection as property when running new API callbacks 2018-09-05 11:24:43 +02:00
SachaG
485f7bad37 Await for validation callbacks too; modify data in update mutator validation callback 2018-08-21 19:22:38 +09:00
SachaG
c2546f07c6 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-08-20 15:21:07 +09:00
SachaG
7e67a441cd Backwards compatibility with documentId 2018-08-20 15:20:51 +09:00
Apollinaire
3492ac40e4 add toLowerCase to mutator collection.create.before
The norm is lower case on hooks, without this it was for example: `Movies.create.before` when all the others were `movies.create.validate/after/async`
2018-08-16 18:00:58 +02:00
SachaG
910c932f61 Get rid of single argument level of indirection in mutations; add additional checks to avoid empty selectors 2018-08-07 16:20:24 +09:00
SachaG
39ae84b81a New callback hooks: *.create.before, *.create.async, etc. act like previous mutation callbacks but run for all collections; foo.collection runs when collection is created. 2018-07-22 09:26:41 +02:00
SachaG
8a446680cf Minor fixes to form, mutators; query, and payments 2018-07-07 18:49:04 +02:00
SachaG
bb80001056 Fix eslint issues 2018-06-30 11:34:17 +02:00
SachaG
4f80444743 Better debug logging 2018-06-25 08:41:44 +02:00
SachaG
91246d083c Better backwards compatibility + fix callback names case 2018-06-19 11:00:20 +09:00
SachaG
8ec093aac5 Better backwards compatibility; improve mutator debug 2018-06-18 10:05:54 +09:00
SachaG
213ec0f385 Fix a few issues with data/modifier 2018-06-17 16:23:22 +09:00
SachaG
1d5d5b8ebc Small bugfixes, make selectors work with both _id and documentId 2018-06-17 12:30:37 +09:00
SachaG
629e4c2c58 Minor clean-ups 2018-06-17 08:00:19 +09:00
SachaG
51acfa7ffc Migrate new callbacks to new single argument API 2018-06-15 10:18:20 +09:00
SachaG
f66d31fa03 Adapt mutator and field callbacks for new naming and new arguments 2018-06-14 15:51:04 +09: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
b92944b6cc Working on default mutations and mutators 2018-06-05 16:39:03 +09:00
SachaG
35b13e89c2 Add comments to graphql templates 2018-06-04 17:59:18 +09:00
SachaG
96eab44309 Start CRUD renaming 2018-06-02 18:49:53 +09:00
SachaG
f298aca5ae Handle empty modifiers better 2018-05-17 09:53:16 +09:00
SachaG
1d7cef5556 Work on form errors & validation 2018-03-25 10:54:45 +09:00
SachaG
020bea31df Pass newDocument to edit callbacks 2018-03-19 14:58:31 +09:00
SachaG
861e65e641 Refactor connectors code to avoid repeating getSetting 2018-03-03 11:39:56 +09:00
SachaG
64cef790db rename mutations to mutators; improve connectors 2018-02-18 15:27:25 +09:00
Renamed from packages/vulcan-lib/lib/server/mutations.js (Browse further)