graphql-engine/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
..
packaging Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
src-bench-cache server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
src-exec Refactor initialisation and relax tx isolation levels where possible (#3901) 2020-04-09 02:41:24 -05:00
src-lib server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
src-rsr tag release v1.2.1 (#4680) 2020-05-05 19:23:29 -05:00
src-test backend only insert permissions (rfc #4120) (#4224) 2020-04-24 14:40:53 +05:30
tests-py server: fix mishandling of GeoJSON inputs in subscriptions (fix #3239) (#4551) 2020-05-13 10:09:44 +02:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
.stylish-haskell.yaml Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
cabal.project server: avoid integer overflows (fix #576) (fix #4368) (#4435) 2020-04-21 15:56:15 +02:00
cabal.project.ci Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
cabal.project.dev More comments in cabal.project files 2020-01-23 18:20:58 -05:00
cabal.project.dev-sh dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.freeze dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.local dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.freeze server: prevent metadata checks in read-only mode (#4250) 2020-04-01 18:22:55 -05:00
CONTRIBUTING.md Add a hint on avoiding recompilation during typical dev workflow (#4427) 2020-04-21 21:03:35 +02:00
graphql-engine.cabal server: avoid code duplication using type classes (#4624) 2020-05-13 11:17:32 +02:00
Makefile persist mix files only when coverage is enabled (#3844) 2020-02-06 20:09:52 -06:00
Setup.hs move raven into graphql-engine repo 2018-06-28 00:32:00 +05:30
STYLE.md server: Add a Haskell style guide (#2175) 2020-04-08 02:31:30 -05:00