Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GraphQL Template support #6

Open
xntrik opened this issue Apr 18, 2023 · 4 comments
Open

Add GraphQL Template support #6

xntrik opened this issue Apr 18, 2023 · 4 comments

Comments

@xntrik
Copy link

xntrik commented Apr 18, 2023

I've raised a PR with some preliminary efforts over #5

@anaximand3r
Copy link
Collaborator

This is very interesting! Currently working on v1.3 with new styling features. I will put this in the schedule for further research/development. Do you have notes/examples of potential enrichments?
I see the operationName being added as note in the preliminary efforts

@xntrik
Copy link
Author

xntrik commented Apr 22, 2023

Yeah, at the time I was interested in easily answering the question: does this appear to be a GraphQL Request (and subsequent response?) And, can we pull the GraphQL Operation Name out of the request. It would be nice if the Operation Name was added as a click/hover link (similar to CSP, JSONParam etc), but I couldn't figure out how to use the PESD API / Interface to do that.

@xntrik
Copy link
Author

xntrik commented Apr 24, 2023

An example of what this looks like
image

@anaximand3r
Copy link
Collaborator

Now I see. As you have experimented, the current PESDWrapper version does not support expandable flags registration by templates. It is something that was in the schedule for later releases, but I will prioritize it :)
It will be possible to add flags like you did for GQL_Req/GQL_Res and optionally pass a data structure that will be placed in the clickable popover 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants