graphql-engine/server/src-lib/Hasura/Backends/Postgres
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
..
DDL Enforce that backends use the properly resolved environment variables. 2021-07-23 12:26:10 +00:00
Execute [gardening] remove all traverse functions from RQL.IR 2021-07-08 15:42:53 +00:00
Instances Server: Index RawFunctionInfo by backend 2021-07-19 15:36:09 +00:00
SQL Server: Index RawFunctionInfo by backend 2021-07-19 15:36:09 +00:00
Translate server/postgres: Support scalar computed fields in remote joins 2021-07-12 16:04:37 +00:00
Types server: misc cleanups 2021-06-15 15:06:37 +00:00
Connection.hs server: misc cleanups 2021-06-15 15:06:37 +00:00
DDL.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00