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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing raw string (without dumping) to ServerSentEvent #484

Open
netanel-haber opened this issue Feb 19, 2024 · 1 comment
Open

Comments

@netanel-haber
Copy link

netanel-haber commented Feb 19, 2024

馃殌 Feature Request
Hey! It would help me if I could pass a string to ServerSentEvent that won't be dumped but will be sent as is [so it won't be wrapped in quotes) - right now my workaround is creating a special class for said strings so I can hardcodingly return a raw string via overriding JsonSettings.dumps.

@netanel-haber
Copy link
Author

Can I try contributing a PR to allow 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

1 participant