graphql-engine/server/src-lib/Hasura/Backends/Postgres
Auke Booij 5fc3cf1446 server: make LazyTxT less lazy
The `LazyTxT` type was introduced to avoid connecting to Postgres when a given GraphQL request did not require this. However, through the new way query execution plans are represented, this has now _mostly_ been taken care of in a different way, and so no `LazyTxT` action is generated at all for GraphQL requests that do not fetch data from Postgres.

This removes the laziness of `LazyTxT` by simply making it a newtype wrapper around `Q.TxET`. This simplifies a lot of code in `Hasura.Backends.Postgres.Connection`.

https://github.com/hasura/graphql-engine-mono/pull/1959

GitOrigin-RevId: 58b4d5a05d67bc602b59e02ac338f1c3e63859c7
2021-08-02 19:14:08 +00:00
..
DDL server/postgres: Support computed fields in permission check/filter 2021-07-28 08:10:25 +00:00
Execute server: Check session variables for subscriptions 2021-07-30 21:42:52 +00:00
Instances server: Check session variables for subscriptions 2021-07-30 21:42:52 +00:00
SQL kill Arbitrary (fix #1736) 2021-07-30 07:55:37 +00:00
Translate server/postgres: Support computed fields in permission check/filter 2021-07-28 08:10:25 +00:00
Types kill Arbitrary (fix #1736) 2021-07-30 07:55:37 +00:00
Connection.hs server: make LazyTxT less lazy 2021-08-02 19:14:08 +00:00
DDL.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00