Commit graph

17 commits

Author SHA1 Message Date
Sacha Greif
26f28a98ce Rework required field validation to make it work for intl fields when creating new documents
1. make intl fields use [IntlValue] and [IntlValueInput] types
2. add isIntlData marker to fields storing intl data
3. only validate intl fields that are marked as required
4. remove all instance of `__typename` from documents in edit forms
2018-08-17 19:02:44 +09: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
b2fc0d0c5b Use Utils.pluralize function 2018-07-04 11:11:46 +02:00
SachaG
1d5d5b8ebc Small bugfixes, make selectors work with both _id and documentId 2018-06-17 12:30:37 +09:00
SachaG
60f47a5189 Various small fixes (thanks @justinr1234) 2018-06-08 13:31:15 +09:00
SachaG
a532dab9b7 singleInputTemplate should use selectorUniqueInputTemplate 2018-06-06 11:00:53 +09:00
SachaG
4e6abff1bb More commenting 2018-06-06 10:35:06 +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
809bdd05de Adapting withMulti and withSingle 2018-06-05 11:51:25 +09:00
SachaG
dbabb98ed4 Fix spacing and case 2018-06-05 10:17:59 +09:00
SachaG
1d3921287c Refactored GraphQL schema generation code to use new GraphQL templates 2018-06-05 10:04:20 +09:00
SachaG
5dbda29b26 Add field template to GraphQL templates + other improvements 2018-06-05 09:12:07 +09:00
SachaG
35b13e89c2 Add comments to graphql templates 2018-06-04 17:59:18 +09:00
SachaG
fc346a68f2 list -> multi 2018-06-04 15:45:13 +09:00
SachaG
21eb6ec4ad List output type should include totalCount 2018-06-04 11:57:53 +09:00
SachaG
f3ba2cc59f Working on GraphQL template system for GraphQL schema generation 2018-06-04 11:22:49 +09:00