graphql-engine/cli/integration_test/testdata/incomplete_metadata/t2/from-server.golden
Karthikeyan Chinnakonda aca8964fdc server: make postgres related ENV vars source specific
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 8ec3db00f00e9c28bf2dc0f47bd312a656c61a69
2021-04-28 16:50:14 +00:00

69 lines
1.8 KiB
Plaintext

{
"version": 3,
"sources": [
{
"name": "default",
"tables": [],
"configuration": {
"connection_info": {
"database_url": {
"from_env": "HASURA_GRAPHQL_DATABASE_URL"
},
"isolation_level": "read-committed",
"pool_settings": {
"retries": 1,
"idle_timeout": 180,
"max_connections": 50
},
"use_prepared_statements": true
}
}
}
],
"actions": [
{
"name": "actionName",
"definition": {
"handler": "http://localhost:3000",
"output_type": "SampleOutput",
"arguments": [
{
"name": "arg1",
"type": "SampleInput!"
}
],
"type": "mutation",
"kind": "synchronous"
}
}
],
"custom_types": {
"input_objects": [
{
"name": "SampleInput",
"fields": [
{
"name": "username",
"type": "String!"
},
{
"name": "password",
"type": "String!"
}
]
}
],
"objects": [
{
"name": "SampleOutput",
"fields": [
{
"name": "accessToken",
"type": "String!"
}
]
}
]
}
}