BlackSheep icon indicating copy to clipboard operation
BlackSheep copied to clipboard

Allow passing raw string (without dumping) to `ServerSentEvent`

Open netanel-haber opened this issue 2 years ago • 1 comments

🚀 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 avatar Feb 19 '24 12:02 netanel-haber

Can I try contributing a PR to allow this?

netanel-haber avatar Feb 20 '24 21:02 netanel-haber