1
0
Fork 0
mirror of synced 2024-09-21 20:11:15 +12:00
Commit graph

138 commits

Author SHA1 Message Date
Jake Barnby
10a5c24a63 Format and lint 2022-07-12 09:52:00 +12:00
Jake Barnby
de5d0eec06 Get current request context utopia instance in cached resolvers 2022-07-11 18:51:08 +12:00
Jake Barnby
8a9a5bec1e Remove redundant output redirection 2022-07-11 18:43:55 +12:00
Jake Barnby
4d60904cff Resolve request and response from resources 2022-07-11 18:43:15 +12:00
Jake Barnby
c15a90f709 Update logging 2022-07-11 18:41:21 +12:00
Jake Barnby
a589681c3d WIP caching and lazy re-building schema 2022-07-08 17:48:00 +12:00
Jake Barnby
ae32d89a0f Formatting 2022-07-07 19:55:07 +12:00
Jake Barnby
b5e8273839 Fix custom entity id properties 2022-07-07 19:39:42 +12:00
Jake Barnby
4ec637f889 Update input file scalar definition 2022-07-07 12:54:59 +12:00
Jake Barnby
23c52da9f8 Fix input file switch reference 2022-07-07 12:54:44 +12:00
Jake Barnby
67807f8c6f WIP input file handling 2022-07-06 20:56:58 +12:00
Jake Barnby
81265ab458 Fix custom entity tests 2022-07-06 17:12:12 +12:00
Jake Barnby
39233cfe1c Handle event validator parsing 2022-07-06 15:57:14 +12:00
Jake Barnby
96e86f6e4e Explicitly enforce content type of API response on GQL response 2022-07-06 15:51:03 +12:00
Jake Barnby
e36192388d Fix params for GET requests 2022-06-30 21:22:54 +12:00
Jake Barnby
8db6148297 Handle delete routes 2022-06-30 21:22:34 +12:00
Jake Barnby
2eb74d2898 Add data json string property to models with additional data 2022-06-30 21:22:16 +12:00
Jake Barnby
b09e5aac8a Test fixes 2022-06-27 18:46:01 +12:00
Jake Barnby
32e530e757 Fix status code not proxied to outer request on exception 2022-06-27 14:21:44 +12:00
Jake Barnby
5ea41a0253 Print with debug flags if not production 2022-06-22 16:44:58 +12:00
Jake Barnby
7689f7ef6f
WIP allow processing routes with no response 2022-05-04 21:45:36 +12:00
Jake Barnby
1055a00090
Proxy headers, cookies and status code from inner to outer request 2022-05-04 21:19:04 +12:00
Jake Barnby
f7c1a6c4a6
IDE method hint 2022-05-04 21:17:19 +12:00
Jake Barnby
54e672498e
Remove redundant function 2022-05-04 18:47:34 +12:00
Jake Barnby
9deaf335cf
Update document list resolution 2022-05-04 18:47:04 +12:00
Jake Barnby
4180784033
Update document get resolution 2022-05-04 18:46:43 +12:00
Jake Barnby
40d8760dd5
Delegate update to create with patch instead of post 2022-05-04 18:46:22 +12:00
Jake Barnby
f02b73c109
Update delete document resolution 2022-05-04 18:45:37 +12:00
Jake Barnby
4f00b30fca
Add common resolve 2022-05-04 18:45:14 +12:00
Jake Barnby
5b555c8aac
Update document resolve 2022-05-04 18:44:45 +12:00
Jake Barnby
7edbb428d0
Use exposed nested validator 2022-05-04 18:43:51 +12:00
Jake Barnby
6138e4af5d
Static map for default args 2022-05-04 18:42:12 +12:00
Jake Barnby
4020c4413d
Remove redundant param 2022-05-04 18:41:18 +12:00
Jake Barnby
248f19f61e
Allow routes with path params to execute by running match on the modified request 2022-05-03 23:15:41 +12:00
Jake Barnby
21dd2935dd
Fix parameters 2022-05-03 18:27:41 +12:00
Jake Barnby
b78b71b260
Update mutate delete for db collection 2022-05-03 17:41:13 +12:00
Jake Barnby
71a0cb59b5
Defer mutate update to mutate create 2022-05-03 17:41:02 +12:00
Jake Barnby
87333e2eb0
Update mutate create for db collection 2022-05-03 17:40:44 +12:00
Jake Barnby
f31080f52c
Update query list for db collection 2022-05-03 17:40:26 +12:00
Jake Barnby
4b216fccb9
Update query get for db collection 2022-05-03 17:40:12 +12:00
Jake Barnby
fba936c2dc
Correct get list default values 2022-05-03 17:39:47 +12:00
Jake Barnby
c00f20f212
Resolve lower-level attribute inline 2022-05-03 17:39:24 +12:00
Jake Barnby
af2895dd9b
Set content type null on inner response to circumvent echo's 2022-05-02 20:54:48 +12:00
Jake Barnby
e3824170b1
Resolve fields directly 2022-05-02 19:44:59 +12:00
Jake Barnby
d07fff5c3e
Return self on then if callback is null 2022-05-02 19:43:43 +12:00
Jake Barnby
ab44874626
Fix inline promise creation 2022-05-02 19:42:57 +12:00
Jake Barnby
383edd1fe1
Fixed promise all 2022-05-02 18:24:51 +12:00
Jake Barnby
dbb49ac7bf
Async resolution fixes 2022-04-26 19:49:36 +12:00
Jake Barnby
5b1f973b45
Fix promise adapter all resolving on a started scheduler 2022-04-22 22:08:30 +12:00
Jake Barnby
1057d7e3aa
Resolve fields as top-level promises for fixed passed through types 2022-04-22 22:06:53 +12:00
Jake Barnby
e79343bae7
Fix type check 2022-04-22 17:49:46 +12:00
Jake Barnby
4a2b620611
Fix using closed request (rebuild API schema per request) 2022-04-22 17:47:27 +12:00
Jake Barnby
601576a9e3
WIP fix individual param resolution 2022-04-20 22:30:48 +12:00
Jake Barnby
5010317d8b
WIP update get defer to route 2022-04-12 18:47:40 +12:00
Jake Barnby
d4a77504c0
Inject read/write args for mutations 2022-04-09 02:08:36 +12:00
Jake Barnby
58241d6fe8
Check content type header exists before checking its type 2022-04-08 23:08:44 +12:00
Jake Barnby
f81e69d7d6
Remove coroutines for easier debug 2022-04-08 23:08:20 +12:00
Jake Barnby
d95a1b277f
Expose swoole request instead of stealing it 2022-04-08 19:16:35 +12:00
Jake Barnby
af128ede7c
Pass-thru graphql args as request parameters 2022-04-08 19:05:59 +12:00
Jake Barnby
47642f63ff
Fix API schema build arg types 2022-04-08 19:04:15 +12:00
Jake Barnby
af98bb9c4a
Rename types 2022-04-08 17:54:51 +12:00
Jake Barnby
40b04a3721
Fix collection type arg and type setting 2022-04-08 02:02:48 +12:00
Jake Barnby
75fec18356
Fix setting nested promise 2022-04-08 00:23:45 +12:00
Jake Barnby
10449822ce
Check promise all equal 2022-04-07 18:41:53 +12:00
Jake Barnby
831429f00c
Capture resolve vars 2022-04-07 18:41:36 +12:00
Jake Barnby
48ba76f365
Add resolvers for get, list, create, update, delete for user collections 2022-04-07 11:23:20 +12:00
Jake Barnby
69e7c2fed9
Async query resolution 2022-04-06 01:48:51 +12:00
Jake Barnby
82f368f0d9 WIP schema extension POC 2021-11-25 21:04:39 +13:00
Christy Jacob
457ab656e7 feat: fixed some issues and updated docker-compose 2021-03-23 23:30:42 +05:30
Christy Jacob
fc41c2c33d feat: added null check for previous Error 2021-03-19 02:40:15 +05:30
Christy Jacob
9f6eb9ba67 feat: some more refactoring 2021-03-19 02:14:00 +05:30
Christy Jacob
22558f9e8f feat: refactoring 2021-03-19 01:23:24 +05:30
Christy Jacob
bbee14862b feat: removed getArgs function 2021-03-19 01:18:19 +05:30
Christy Jacob
207c06e912 feat: formatted doc blocks 2021-03-19 01:11:38 +05:30
Christy Jacob
8c9d6edff2 feat: refactored errors 2021-03-19 00:56:45 +05:30
Christy Jacob
772f110eee feat: refactor noContent() 2021-03-19 00:25:43 +05:30
Christy Jacob
455ba3ff18 feat: support for delete mutation 2021-03-18 02:47:50 +05:30
Christy Jacob
99ade8ec13 feat: added getCurrentModel() 2021-03-18 02:15:47 +05:30
Christy Jacob
bf57280503 feat: refactor createTypeMapping 2021-03-17 01:35:48 +05:30
Christy Jacob
60b863311b feat: refactoring 2021-03-16 20:04:43 +05:30
Christy Jacob
4c49fb1b05 feat: added tests for scope based auth 2021-03-16 19:04:11 +05:30
Christy Jacob
96bb4613e4 feat: code cleanup 2021-03-13 00:30:43 +05:30
Christy Jacob
b1c58e2fc4 feat: code cleanup 2021-03-12 23:39:25 +05:30
Christy Jacob
d0c3111844 feat: added some tests and code cleanup 2021-03-12 23:30:41 +05:30
Christy Jacob
b3f96c6b4c feat: refactoring and code clean up 2021-03-11 21:14:04 +05:30
Eldad Fux
7319a1eeb9 Refactoring 2021-03-10 17:22:19 +02:00
Christy Jacob
2b9f974125 feat: refactoring and code clean up 2021-03-10 19:21:03 +05:30
Christy Jacob
3b0884e628 feat: refactoring and code clean up 2021-03-10 13:12:45 +05:30