mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-21 06:21:39 +03:00
ea23571049
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.
47 lines
997 B
YAML
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!
|