graphql-engine/server/tests-py/queries/actions/introspection/setup.yaml
Rakesh Emmadi ea23571049
fix introspection faling when multiple actions defined with PG scalar types (fix #5166) (#5173)
Introspection query is failing with `type info not found for xxxx` error message if multiple actions are defined with reused PG scalars. The fix for the same.
2020-06-23 15:35:54 +05:30

47 lines
997 B
YAML

type: bulk
args:
- type: replace_metadata
args:
version: 2
tables: []
actions:
- name: actionName
definition:
handler: http://localhost:3000
output_type: SampleOutput
arguments:
- name: text
type: jsonb!
- name: attributes
type: String!
type: mutation
kind: synchronous
- name: actionName2
definition:
handler: http://localhost:3000
output_type: SampleOutput2
arguments:
- name: a
type: ID!
- name: b
type: ID!
type: mutation
kind: synchronous
custom_types:
input_objects:
- name: SampleInput
fields:
- name: username
type: String!
- name: password
type: String!
objects:
- name: SampleOutput
fields:
- name: id
type: String!
- name: SampleOutput2
fields:
- name: id
type: String!