graphql-engine/server/src-lib/Hasura/Backends/MySQL
Antoine Leblanc 49f40a44f0 Enforce that backends use the properly resolved environment variables.
## Description

This PR fixes an oversight in the implementation of the resolvers of different backends. To implement resolution from environment variables, both MSSQL and BigQuery were directly fetching the process' environment variables, instead of using the careful curated set we thread from main. It was working just fine on OSS, but is failing on Cloud.

This PR fixes this by adding an additional argument to `resolveSourceConfig`, to ensure that backends always use the correct set of variables.

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

GitOrigin-RevId: 58644cab7d041a8bf4235e2acfe9cf71533a92a1
2021-07-23 12:26:10 +00:00
..
Instances mysql: runSql implementation and python tests leveraging it to enhance the metadata test 2021-07-21 10:22:54 +00:00
Connection.hs Enforce that backends use the properly resolved environment variables. 2021-07-23 12:26:10 +00:00
Meta.hs mysql: Metadata awareness 2021-07-15 12:45:51 +00:00
SQL.hs mysql: runSql implementation and python tests leveraging it to enhance the metadata test 2021-07-21 10:22:54 +00:00
Types.hs server/mysql: integrate MySQL tests into dev.sh workflow 2021-07-21 17:22:56 +00:00