Open Aksh-a1 opened 3 years ago
Thanks @Aksh-a1 for raising this issue, I am already on it.
Basically there will be more endpoints added by default as well as, you can add custom endpoints and regex possibly for filtering the queries
Looks like this issue was something else. Digging further into the issue I found that it was not the problem of the endpoint, but of the query not having operation name 😅 . Refer the screenshot below:
@Aksh-a1 I see two issues popping up here:
graphql
in them.
andoperation: req.operationName.trim(),
doesn't has the trim
method when there is no operation in the queryPossible solutions I am making -
graphql
, query
etc) and also providing a preferences or modifications option to provide regex/string to filter in the endpointreq.operationName
is not present
It seems at current moment it is only working for
/graphql
endpoint, I tested for Angular website using graphql which makes endpoint as/graphql/query
and it didn't seem to catch those requests. Might be good to add capability to work with all kind of endpoints containing/graphql/<>
and not just/graphql
ones?