mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
update: update BigQuery API docs
## Description As per this [BQ configuration docs](https://hasura.io/docs/latest/api-reference/syntax-defs/#bigqueryconfiguration), the `datasets` field must contain list of strings (array of strings). In given example [here](https://hasura.io/docs/latest/api-reference/metadata-api/source/#metadata-bigquery-update-source), the `datasets` field in the example request contains comma seperated string (❌ ). Expected data type for that field is List of strings as per above-mentioned configuration docs (✅ ). We came across this when @BenoitRanque and I were troubleshooting a ticket, and we faced an error while using this example request. Thanks ! PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8161 GitOrigin-RevId: ca4179261e009648ab9007988bf60b388875b117
This commit is contained in:
parent
f92d695704
commit
b4ca5f3605
@ -369,7 +369,7 @@ X-Hasura-Role: admin
|
||||
"configuration": {
|
||||
"service_account": "bigquery_service_account",
|
||||
"project_id": "bigquery_project_id",
|
||||
"datasets": "dataset1, dataset2"
|
||||
"datasets": ["dataset1", "dataset2"]
|
||||
},
|
||||
"customization": {
|
||||
"root_fields": {
|
||||
@ -446,7 +446,7 @@ X-Hasura-Role: admin
|
||||
"configuration": {
|
||||
"service_account": "bigquery_service_account",
|
||||
"project_id": "bigquery_project_id",
|
||||
"datasets": "dataset1, dataset2"
|
||||
"datasets": ["dataset1", "dataset2"]
|
||||
},
|
||||
"customization": {
|
||||
"root_fields": {
|
||||
|
Loading…
Reference in New Issue
Block a user