mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
8c41ff539a
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
40 lines
861 B
YAML
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: []
|