Commit graph

17 commits

Author SHA1 Message Date
SachaG
638f6937bc Delay fragment initialization for more flexibility in fragments/subfragments load order 2017-09-04 19:56:17 +09:00
klokie
3c3e79f853 fix to previous graphql fragment mod 2017-08-25 11:15:51 +02:00
klokie
9bbd5f5470 ignore comments in fragments and provide GraphQL spec-compliant regexp for parsing GraphQL fragment names 2017-08-25 11:10:29 +02:00
SachaG
00d7466b57 Add new collection.queryOne function 2017-08-20 15:24:13 +09:00
SachaG
dfa2609e43 register CollectionDefaultFragment as regular fragment, too 2017-08-02 15:51:11 +09:00
SachaG
12925718a5 Merge branch 'feature/graphql-interfaces' of https://github.com/ochicf/Vulcan into ochicf-feature/graphql-interfaces
# Conflicts:
#	.meteor/packages
2017-07-29 15:11:23 +09:00
SachaG
9a9b42bf86 add fields option to Card component; make withDocument use default fragments 2017-07-29 09:26:31 +09:00
SachaG
cf7d41d009 add new "default" fragment used by withList if no fragment is specified 2017-07-25 18:37:23 +09:00
ochicf
0f9e0a8238 Relax regex to find subfragments so inline-fragments can be bypassed WIP
The old regex looked for any `...` considered it a subfragment. The new regex only considers a subfragment when finding `...` followed by a non-space character (ex: `...SubFragmentName`), ignoring inline-fragments (ex: `... on TypeName {`).

This should be improved with a more restrictive regex. See [issue](https://github.com/VulcanJS/Vulcan/issues/1674).
2017-07-22 11:25:27 +02:00
SachaG
08f957dec4 refactor fragments to support multiple successive extensions; simplify logic 2017-07-07 09:40:34 +09:00
SachaG
de486a607e clean up 2017-07-03 12:32:20 +09:00
SachaG
a3abb94d3a do not try to extend fragments that don’t exist yet 2017-06-22 16:19:23 +09:00
SachaG
4ad845440c clean up; remove flatten call from Form.jsx; make it possible to specify id:null to not sort by id 2017-06-20 10:25:34 +09:00
SachaG
55bb30bce9 Add fragment initialization step; get rid of duplicate fragments warning; Note: Vulcan HoCs cannot be used outside of registerComponent anymore 2017-06-19 10:19:05 +09:00
SachaG
374c512341 enable extending fragments that haven’t been defined yet by adding an initializeFragments() step 2017-06-17 15:24:53 +09:00
SachaG
2981ca3e93 Add new removeFromFragment function; fix collection.removeField 2017-05-14 11:08:07 +09:00
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00
Renamed from packages/nova-lib/lib/modules/fragments.js (Browse further)