Closed mohe2015 closed 3 years ago
postgres types for sql`` are bad
TODO
https://github.com/sveltejs/rfcs/pull/38
https://github.com/sveltejs/language-tools/issues/442
https://github.com/sveltejs/language-tools/issues/273
Try to not throw at all in the networking stuff (and also elsewhere) as this allows typing the error responses. Any throw then is basically a bug
WARNING: do not use yet as the authentication will be converted to the per-field authentication.
TODO: remove all {#awaits and replace by result?
PostgresError makes problems with typescript, filed PR upstream. EndpointResponses and Endpoint inputs should all be typed. query.filters needs to be checked. Extend checkPermissions for such things.