graphql-engine/server/tests-py/queries/actions/metadata/setup.yaml
Rakesh Emmadi e983b1596e
fix recreating action's permission, fix #4377 (#4495)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-04-22 11:29:14 +05:30

22 lines
399 B
YAML

type: bulk
args:
- type: set_custom_types
args:
objects:
- name: User
fields:
- name: user_id
type: ID!
- name: name
type: String!
- type: create_action
args:
name: create_user
definition:
kind: synchronous
arguments:
- name: name
type: String!
output_type: User!
handler: http://127.0.0.1:5593/create-user