graphql-engine/server/src-lib/Hasura/Backends
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
..
BigQuery Clean some instances 2021-07-30 15:43:32 +00:00
MSSQL server: Check session variables for subscriptions 2021-07-30 21:42:52 +00:00
MySQL Clean some instances 2021-07-30 15:43:32 +00:00
Postgres server: make LazyTxT less lazy 2021-08-02 19:14:08 +00:00