Commit graph

5878 commits

Author SHA1 Message Date
eric-burel
8a1e1b7a64 add error link server side 2018-11-22 11:42:02 +01:00
eric-burel
0d5047fca4 init apollo server side client state too, better naming 2018-11-22 10:10:29 +01:00
eric-burel
c08df1a36f files cleanup 2018-11-20 15:51:10 +01:00
eric-burel
42ac3c37db first working draft 2018-11-20 15:51:05 +01:00
eric-burel
93a317af24 restore 2018-11-20 12:54:42 +01:00
eric-burel
939b4fce78 can render app 2018-11-19 15:36:12 +01:00
eric-burel
8d1f5fb92b split graphQL initialization step and published the executable schema 2018-11-19 11:56:06 +01:00
eric-burel
8e3d6b8d0d revert start change 2018-11-16 17:57:38 +01:00
eric-burel
e95098dced try to load the schema 2018-11-16 17:48:17 +01:00
eric-burel
7b9fc71cf7 init components server side 2018-11-16 17:28:50 +01:00
eric-burel
4d66b7cac5 basic setup, can render a dummy string 2018-11-16 17:09:27 +01:00
Eric Burel
6ab9ca524d fixed misleading comments 2018-10-08 19:44:26 +02:00
Eric Burel
e57f3ecb63 setup voyager 2018-10-08 17:44:50 +02:00
Eric Burel
41da635c74 do not mutate initial context 2018-10-08 17:07:55 +02:00
Eric Burel
3f20c64b4e fixed context user management using meteor/apollo 2018-10-08 16:58:15 +02:00
Eric Burel
e75e199dc2 split context creation to avoid unecessary computations 2018-10-08 14:06:25 +02:00
Eric Burel
d78c6edab9 updated comments 2018-10-08 13:50:46 +02:00
Eric Burel
607196e919
Merge pull request #2094 from lbke/apollo2-server
[WIP] Apollo2 server
2018-10-05 16:27:41 +02:00
Eric Burel
b9b1b96a6e fix when engine api key is not defined 2018-10-05 16:03:54 +02:00
Eric Burel
6384bbb12b got rid of graphql-tools
'
2018-10-03 17:54:40 +02:00
Eric Burel
e474414350 fixed new syntax 2018-10-03 17:06:40 +02:00
Eric Burel
d3c384f0fe setup playground but does not pass headers... 2018-10-03 15:18:06 +02:00
Eric Burel
ad022bce9b setup engine 2018-10-03 14:19:50 +02:00
Eric Burel
29bcf74ed3 fixed context creation, server is working back 2018-10-02 20:33:40 +02:00
Eric Burel
8d3120abc7 basic example with apollo-server, not yet working 2018-10-02 18:05:47 +02:00
Eric Burel
583bf4c546 splitting files of the server, cleanup 2018-10-02 18:05:10 +02:00
Eric Burel
fc57ddf183 better naming 2018-10-02 15:38:36 +02:00
Eric Burel
90d0e0c5a9
Merge pull request #2089 from lbke/apollo2-withMessages
Apollo2 withMessages
2018-09-28 11:14:49 +02:00
Eric Burel
e8a62d93ef
Merge branch 'apollo2' into apollo2-withMessages 2018-09-27 16:38:30 +02:00
Eric Burel
cbc387e7d1 withMessage is functionnal, need testing 2018-09-27 16:27:24 +02:00
Eric Burel
fd26020074
Update npm apollo-client and react-apollo to v2
It seems to fix the undefined results issue in the `graphql` HOC
It also enables Apollo chrome development tool, which is necessary to debug local cache
2018-09-27 16:21:22 +02:00
Eric Burel
e9788cbf45 rewriting withMessages with new apollo-link-state api 2018-09-27 15:52:51 +02:00
Eric Burel
f88715384b
Merge pull request #2083 from lbke/lbke-apollo2
[WIP] Apollo 2: apollo-state-link and RR4
2018-09-27 11:12:35 +02:00
Eric Burel
a8e6b8b8ea cleanup test, import, modules, wrap registerWatechedMutation with isClient 2018-09-27 11:07:17 +02:00
Eric Burel
f7a2a9ef78 defer apollo2 client creation until app startup 2018-09-27 09:48:35 +02:00
Eric Burel
bbb9263c27 experiment with reloading the client when adding a mutation 2018-09-26 15:36:24 +02:00
Eric Burel
58afb6c547 Fixed routes with layout exact prop 2018-09-26 12:22:39 +02:00
Eric Burel
2bacae7a0e copy-pasted meteor/apollo, updated to RR4
meteor/apollo Atmosphere version does not seem up to date with the Github repo
2018-09-26 11:34:28 +02:00
Eric Burel
9366d41463 delete confusing file 2018-09-26 10:17:44 +02:00
Eric Burel
9cc23a1e4f moved apollo-client to client code 2018-09-26 10:17:03 +02:00
Eric Burel
a50fc3ddb3 fix export/import update.js 2018-09-26 10:01:55 +02:00
Eric Burel
e63137a943 split code and started working on apollo-state-link 2018-09-25 20:48:25 +02:00
SachaG
4c500e856e Disable routing package 2018-09-24 10:26:56 +09:00
SachaG
7b9da35b19 Finish work on post-mutation update functions 2018-09-24 09:08:11 +09:00
SachaG
bbf07273e4 Use WatchedMutations for post-mutation updates 2018-09-23 16:38:45 +09:00
SachaG
7adb8b3c7c Rename routing -> init 2018-09-23 11:04:29 +09:00
SachaG
6275108d41 Comment out/disable legacy code for now 2018-09-23 10:52:52 +09:00
SachaG
e166e39546 Working on Apollo2 + React Router v4 2018-09-23 10:52:40 +09:00
SachaG
5b09d98918 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-23 08:15:34 +09:00
Sacha Greif
73d7172896
Merge pull request #2077 from ErikDakoda/GetLabelIntlFallback
SmartForm.getLabel() intl string fallback
2018-09-22 22:54:27 +09:00