mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
5fc3cf1446
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 |
||
---|---|---|
.. | ||
DDL | ||
Execute | ||
Instances | ||
SQL | ||
Translate | ||
Types | ||
Connection.hs | ||
DDL.hs |