SachaG
5d1a7d2c37
Replace documentId/slug with selector in single resolver
2018-08-29 20:36:30 +09:00
ochicf
eb544faa07
register callbacks only for the created mutations
2018-08-10 11:51:43 +02:00
ochicf
b31ff85b8c
merge mutation and resolver options
...
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,
});
```
2018-08-10 11:50:56 +02:00
ochicf
9e9d818678
collectionName can now be specified as an argument
2018-08-10 11:24:38 +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
97c1ea1630
Improve MutatioButton
2018-07-14 09:09:01 +02:00
SachaG
dfd4bb023e
MutationButton component
2018-07-13 21:47:36 +02:00
SachaG
4af2492e07
Make Card and Datatable components more flexible when working with static data; add title prop
2018-07-11 08:34:01 +02:00
SachaG
b2fc0d0c5b
Use Utils.pluralize function
2018-07-04 11:11:46 +02:00
SachaG
e0b540eeb1
Use callback ref; fix withMutation; handle errors with no path
2018-07-04 10:59:10 +02:00
SachaG
4f80444743
Better debug logging
2018-06-25 08:41:44 +02:00
SachaG
994c19a98d
Make withMutation accept return fragmentName
2018-06-20 10:24:30 +09:00
SachaG
1d5d5b8ebc
Small bugfixes, make selectors work with both _id and documentId
2018-06-17 12:30:37 +09:00
SachaG
d9bc8b8c88
New default mutations/default resolvers API
2018-06-17 07:49:33 +09:00
SachaG
2b61d31ccb
Merge branch 'master' into devel
...
# Conflicts:
# packages/vulcan-users/lib/server/on_create_user.js
2018-06-16 10:16:09 +09:00
SachaG
e783d51dca
v1.11.2
2018-06-16 08:57:45 +09:00
SachaG
51acfa7ffc
Migrate new callbacks to new single argument API
2018-06-15 10:18:20 +09:00
SachaG
32066e9c5a
search -> selector
2018-06-14 23:00:28 +09:00
SachaG
905bacbe88
Update permissions
2018-06-14 17:45:02 +09:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
SachaG
c0650893fa
v1.11.1
2018-06-14 08:51:03 +09:00
SachaG
b0e7c4bf97
Only reset store when intl fields exist
2018-06-14 08:47:58 +09:00
SachaG
4da86c44a3
Add support for sortable property (bool/string) on datatable columns to make them sortable
2018-06-12 15:24:17 +09:00
SachaG
4ec9c08500
Set correct moment locale
2018-06-12 11:23:36 +09:00
SachaG
60f47a5189
Various small fixes (thanks @justinr1234)
2018-06-08 13:31:15 +09:00
SachaG
ad1f47ef73
Make debug email routes work with new APIs
2018-06-06 11:39:04 +09:00
SachaG
a532dab9b7
singleInputTemplate should use selectorUniqueInputTemplate
2018-06-06 11:00:53 +09:00
SachaG
2318a95d66
Make mutations backwards compatible
2018-06-06 09:32:30 +09:00
SachaG
f1652ae025
arguments -> args
2018-06-06 09:07:13 +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
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
SachaG
1d3921287c
Refactored GraphQL schema generation code to use new GraphQL templates
2018-06-05 10:04:20 +09:00
SachaG
f3ba2cc59f
Working on GraphQL template system for GraphQL schema generation
2018-06-04 11:22:49 +09:00
SachaG
96eab44309
Start CRUD renaming
2018-06-02 18:49:53 +09:00
SachaG
d3b6591f63
v1.11.0
2018-06-02 08:35:42 +09:00
SachaG
1951000118
Merge branch 'master' into devel
...
# Conflicts:
# README.md
2018-05-23 15:12:33 +09:00
SachaG
640a52d3c2
v1.10.1
2018-05-18 08:27:41 +09:00
SachaG
fc15a4df42
Small core/ui components improvements
2018-05-16 11:40:10 +09:00
SachaG
975155a843
Revert b6669a3
and add loadingInitial
prop to be more explicit
2018-05-15 09:21:03 +09:00
SachaG
55d34bd328
Working on locale cookie support for SSR
2018-05-14 17:28:04 +09:00
SachaG
b30b1ae6e6
reset store after locale change
2018-05-10 18:17:53 +09:00
SachaG
a5a43d2f89
Get locale from user
2018-05-10 17:57:12 +09:00
SachaG
c78cf47e85
Merge branch 'devel' into i18n2
2018-05-10 17:49:46 +09:00
SachaG
5c43de929c
Fix withEdit imports; fix dropdown bug
2018-05-10 17:48:22 +09:00
SachaG
af666027c3
Add locale field to user schema; change it when setLocale is called on client
2018-05-10 17:48:06 +09:00
SachaG
e2cba32b15
Clean up
2018-05-10 09:38:25 +09:00
SachaG
603fafae37
Merge branch 'devel' into i18n2
2018-05-09 11:23:17 +09:00