Commit Graph

13 Commits

Author SHA1 Message Date
Rijk van Zanten
f90c31b798 GraphQL 2.0 (#4625)
* Start on GraphQL "2.0", add methodnotallowed exceptoin

* Fix relative file pointer in peer dep

* [WIP] Add pre-filtered schema to SchemaOverview

* Use root schema as is, add reduce-schema util

* Use reduceSchema in the wild

* Base schema on local reduced schema

* Remove todo

* Use graphql-compose to build out schema

* Start restructuring resolvers

* Add create mutation

* Return boolean true for empty create mutation selections

* Add update mutation

* Add delete mutation

* Add system/items scoping

* Fix merge conflicts for real now

* Use system services, rename ids->keys

* Start on docs on mutations

* Updates to match main

* Add fetch-by-id

* Add one/many resolvers for mutations

* Check system collection rows for singleton

* Fix resolver extraction for single read

* Share delete return type

* Add comments

* Use collection root name for readable type

* Add specs endpoint for GraphQL SDL

* Update docs

* Add note on SDL spec

* Fix delete single example

* Remove package-lock

* Fix collection read scoping in non-read
2021-03-30 17:06:35 -04:00
Rijk van Zanten
b81cfe0a49 Implement byte-range requests on /assets (#4136)
Fixes #3640
2021-02-17 17:56:44 -05:00
rijkvanzanten
ea7ad5481a Add unprocessable entity exception 2020-10-13 16:26:59 -04:00
rijkvanzanten
46dc2bedc6 Add invalid IP exception 2020-10-13 15:49:57 -04:00
rijkvanzanten
c1fa0b1e0d Remove missing imports 2020-10-05 12:21:31 -04:00
rijkvanzanten
be3c414b05 Return validation errors 2020-09-09 15:17:28 -04:00
rijkvanzanten
c8c0342ae5 Replace service exceptions with serviceunavailableexception 2020-09-08 13:33:18 -04:00
rijkvanzanten
12af165323 Merge branch 'main' into feature-rate-limiting 2020-09-01 11:15:01 -04:00
Tanya Byrne
db3c2f675f Updating cache so memory used by default 2020-08-27 16:53:35 +01:00
rijkvanzanten
d87038ee5d Use updated errors output format 2020-08-25 15:26:35 -04:00
Tanya Byrne
eee7746165 Adding better exception handling to match everything else 2020-08-17 17:44:35 +01:00
Tanya Byrne
504d3014aa remove not needed 2020-08-17 17:31:09 +01:00
rijkvanzanten
bde7069cce Move api into api subdirectory 2020-07-29 11:22:56 -04:00