graphql-engine/server/src-lib/Hasura/Server
Auke Booij e17e47ef8c
server: avoid code duplication using type classes (#4624)
There are two implementations of a Cache, namely a bounded and an
unbounded variant.  This can be elegantly captured in a type class.
In addition to reducing the amount of error-prone code in the
definition of the cache, this version reduces the amount of
error-prone code in usage sites of the cache, as it makes the cache
into an abstract object, so that a calling site cannot distinguish
between cache types.  Any decision about what should be cached should
be made through the interface of a cache, rather than at the callsite,
and this is captured by this variant.
2020-05-13 11:17:32 +02:00
..
API backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Auth backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Init server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
Migrate Maintain downgrade commands in a text file, update when tagging (#3933) 2020-02-24 20:03:56 +05:30
Telemetry Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
App.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Auth.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
CheckUpdates.hs More robust forking, exception safety. Closes #3768 (#3860) 2020-03-05 23:29:26 +05:30
Compression.hs few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
Cors.hs read cookie while initialising websocket connection (fix #1660) (#1668) 2019-03-04 13:16:53 +05:30
Init.hs server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
Logging.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Middleware.hs breaking: server logging changes (close #507, close #2171) (#1835) 2019-07-11 05:37:06 +00:00
Migrate.hs Add missing migration to initialise.sql for #3839 (#4212) 2020-03-26 23:50:45 -05:00
SchemaUpdate.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Telemetry.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Utils.hs backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
Version.hs cli, server: use prerelease tag as channel for console assets cdn (#3975) 2020-03-04 20:10:47 +05:30