graphql-engine/cli/internal/projectmetadata/testdata/diff/t1/server/metadata/actions.yaml
Kali Vara Purushotham Santhati 8c41ff539a cli: enhance metadata diff command
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2581
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 327c26868102ea1c277b795b9f508847faa2ae8b
2021-12-09 17:26:53 +00:00

40 lines
861 B
YAML

actions:
- name: bar
definition:
kind: synchronous
handler: http://localhost:3000
request_transform:
body: |-
{
"users": {
"bar": {{$body.input.arg1.username}},
"password": {{$body.input.arg1.password}}
}
}
content_type: application/json
template_engine: Kriti
- name: foo
definition:
kind: synchronous
handler: http://localhost:3000
request_transform:
body: |-
{
"users": {
"bar": {{$body.input.arg1.username}},
"foo": {{$body.input.arg1.password}}
}
}
content_type: application/json
method: GET
query_params: {}
template_engine: Kriti
comment: Foo
custom_types:
enums: []
input_objects:
- name: SampleInput
objects:
- name: SampleOutput
scalars: []