-
Notifications
You must be signed in to change notification settings - Fork 392
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
Sending raw data is impossible. #57
Labels
type: fix
Issues describing a broken feature.
Comments
I had to return images. Easiest thing is use @res() to inject response object and write directly through it |
|
Merged
this should be fixed in 0.7.0 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
Thanks for an awesome project! It make writing services in TS a real pleasure.
One bug I came across - even for actions that are marked with a different @ContentType and not inside @jsoncontroller - the result cannot be binary, for example, I cannot send image file.
The reason for it is the following code in ExpressDriver:
Basically, even if a Buffer is returned - it's converted to string. It's not a correct behavior. At least some sort of escape hatch is needed.
What would you recommend?
The text was updated successfully, but these errors were encountered: