graphql-engine/server/tests-py/queries/actions/sync/mirror_action_success.yaml
Rakesh Emmadi f80b69e931
few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109)
* add 'ID' to default scalars for custom types, fix #4061

* preserve cookie headers from sync action webhook, close #4021

* validate action webhook response to conform to output type, fix #3977

* fix tests, don't run actions' tests on PG version < 10

* update CHANGELOG.md

* no-op refactor, use types from http-network more

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-20 12:16:45 +05:30

20 lines
328 B
YAML

description: A successful query to mirror action
url: /v1/graphql
status: 200
response:
data:
mirror:
id: some-id
name: Alice
query:
variables:
id: some-id
name: Alice
query: |
mutation ($id: ID, $name: String) {
mirror(arg: {id: $id, name: $name}){
id
name
}
}