mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 20:46:40 -04:00
![]() This makes possible to only specify a subset of options. As an example, imagine we want to pass a customized `updateCheck` function to `getDefaultMutations`. Before this commit options weren't merged, so all of them had to be specified: ``` getDefaultMutations({ typeName, collectionName, options: { create: true, update: true, upsert: true, delete: true, updateCheck: () => true, }); ``` After the commit: ``` getDefaultMutations({ typeName, collectionName, options: { updateCheck: () => true, }); ``` |
||
---|---|---|
.. | ||
components | ||
containers | ||
callbacks.js | ||
default_mutations.js | ||
default_resolvers.js | ||
index.js |