Commit Graph

13 Commits

Author SHA1 Message Date
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
rijkvanzanten
61c5522c06 Treat filter "null" as null
Closes #4386
2021-03-04 17:12:44 -05:00
Rijk van Zanten
30f631b0b2 Allow deeply nested queries with deep (#4384)
* Allow deeply nested query using _prefix

* Support deeply nested deep-queries

* Parse nested deep in GraphQL correctly

* Update docs
2021-03-04 12:59:54 -05:00
rijkvanzanten
5908822ea9 Fix between query validation, add example to docs
Fixes #4269
2021-02-24 10:44:20 -05:00
rijkvanzanten
6b5cdc780f Don't error on Date in query param validation
Fixes #3806
2021-01-25 18:06:02 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
0c72ee6b1d Fix deep filters in app, fix current-user/current-role in filters 2020-11-12 14:12:05 -05:00
rijkvanzanten
236bde3c59 Fix deep query validation 2020-11-12 13:08:11 -05:00
rijkvanzanten
ae0fcc28fe Use dropdown for boolean default value 2020-11-11 16:10:33 -05:00
rijkvanzanten
13c4e7a49c Prevent maximum callstack error on wrong filter
Ref #805
2020-10-29 17:02:13 -04:00
rijkvanzanten
634e58c217 Fix meta validatoin 2020-10-16 16:02:41 -04:00
rijkvanzanten
1e628d8915 Validate the used query before running it 2020-10-14 15:31:47 -04:00