mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 05:21:47 +03:00
3ba5d1e540
GitOrigin-RevId: 1a0d8fa2b465320e9ab4ea43259d0e8d92364473
35 lines
834 B
YAML
35 lines
834 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:
|
|
"Inconsistent object: in endpoint foo: query with name simple_subscription
|
|
is a subscription"
|
|
name: endpoint foo
|
|
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
|