mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
b75706dd12
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2338 Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com> GitOrigin-RevId: 9cd6bb940ba74fe41bdf2db3c4f35e89c4fb0577
36 lines
904 B
YAML
36 lines
904 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: rest_endpoint foo
|
|
type: rest_endpoint
|
|
path: $.args
|
|
error: 'Inconsistent object: in endpoint foo: query with name simple_subscription
|
|
is a subscription'
|
|
code: invalid-configuration
|
|
query:
|
|
type: create_rest_endpoint
|
|
args:
|
|
url: "foo/bar/subscribe"
|
|
name: foo
|
|
methods:
|
|
- GET
|
|
definition:
|
|
query:
|
|
collection_name: test_collection
|
|
query_name: simple_subscription
|