You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server Version: 2.36.1
CLI Version (for CLI related issue): 2.36.1
Environment
OSS
What is the current behaviour?
when you try to add an relay query, it says query not found
What is the expected behaviour?
adds the relay connection as an allowed query
How to reproduce the issue?
turn on relay
turn on allow list
add query -> get error
Screenshots or Screencast
response from metadata endpoint
{
"error": "cannot continue due to newly found inconsistent metadata",
"path": "$.args[0].args",
"code": "unexpected",
"internal": [
{
"definition": {
"name": "MyQuery",
"query": "query MyQuery {\n xyz_connection {\n edges {\n node {\n id\n }\n }\n }\n}"
},
"name": "query_collections MyQuery in allowed-queries",
"reason": "Inconsistent object: In query collection \"allowed-queries\" the query \"MyQuery\" is invalid with the following error(s): \"$.xyz_connection: field 'xyz_connection' not found in object 'query_root'\". This query is in allowlist.",
"type": "query_collections"
}
]
}
Please provide any traces or logs that could help here.
see above
Any possible solutions/workarounds you're aware of?
don't use relay if you want allow list
Keywords
relay graphql API does not work with allow list
The text was updated successfully, but these errors were encountered:
Version Information
Server Version: 2.36.1
CLI Version (for CLI related issue): 2.36.1
Environment
OSS
What is the current behaviour?
when you try to add an relay query, it says query not found
What is the expected behaviour?
adds the relay connection as an allowed query
How to reproduce the issue?
Screenshots or Screencast
response from metadata endpoint
Please provide any traces or logs that could help here.
see above
Any possible solutions/workarounds you're aware of?
don't use relay if you want allow list
Keywords
relay graphql API does not work with allow list
The text was updated successfully, but these errors were encountered: