plow-technologies / servant-streaming

Support for servant requests and responses via the 'streaming' library
13 stars 3 forks source link

Terrible idea, but it works, type unsafe resourcet for handler #3

Closed domenkozar closed 6 years ago

domenkozar commented 6 years ago

We shouldn't merge this, but since Handler has no MonadResource instance, this does compile. I'm almost certain that those resources aren't cleaned up.

Inspired by https://stackoverflow.com/questions/49338771/streaming-from-s3-bucket-using-amazonka-and-streaming-library

Example: https://github.com/domenkozar/servant-streaming-amazonka/pull/1