mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
32 lines
746 B
YAML
32 lines
746 B
YAML
|
description: Try to add an endpoint with duplicate params
|
||
|
url: /v1/query
|
||
|
status: 400
|
||
|
response:
|
||
|
internal:
|
||
|
- definition:
|
||
|
definition:
|
||
|
query:
|
||
|
collection_name: test_collection
|
||
|
query_name: simple_subscription
|
||
|
url: foo/bar/subscribe
|
||
|
methods:
|
||
|
- GET
|
||
|
name: foo
|
||
|
comment:
|
||
|
reason: 'in endpoint foo: query with name simple_subscription is a subscription'
|
||
|
type: endpoint
|
||
|
path: $.args
|
||
|
error: cannot continue due to new inconsistent metadata
|
||
|
code: unexpected
|
||
|
query:
|
||
|
type: create_rest_endpoint
|
||
|
args:
|
||
|
url: "foo/bar/subscribe"
|
||
|
name: foo
|
||
|
methods:
|
||
|
- GET
|
||
|
definition:
|
||
|
query:
|
||
|
collection_name: test_collection
|
||
|
query_name: simple_subscription
|