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

JSON_UNESCAPED_UNICODE #731

Open
drmax24 opened this issue Feb 27, 2025 · 2 comments
Open

JSON_UNESCAPED_UNICODE #731

drmax24 opened this issue Feb 27, 2025 · 2 comments

Comments

@drmax24
Copy link

drmax24 commented Feb 27, 2025

Can i set JSON_UNESCAPED_UNICODE for all graphql responses somehow?

@oojacoboo
Copy link
Collaborator

oojacoboo commented Feb 27, 2025

That's not currently possible. However, it may be possible to add via the TheCodingMachine\GraphQLite\Http\WebonyxGraphqlMiddleware::getJsonResponse method. I assume this would be most appropriate as a config option though.

@drmax24
Copy link
Author

drmax24 commented Feb 28, 2025

So this will reduce the amount of network traffic slightly in case of a great number of requests, this is feasible.
Can you add this small feature? Or help me solve this

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

No branches or pull requests

2 participants