Tymon Tobolski

Results 130 comments of Tymon Tobolski

Syntax proposal: ``` scala trait Resource0[Id0] { def show(id:Id0): Handler // ... } trait Resource1[Id0, Id1] { def show(id0: Id0, id1: Id1): Handler } resource("posts", Posts){ // Posts must be...

What’s the use case for updating the env on retry? If feels a bit weird to add it as an option. In case of authentication I’d probably write a custom...

Maybe Retry middleware should just add `retry_attempt` counter to env.opts?

Response streaming added for Finch in https://github.com/elixir-tesla/tesla/releases/tag/v1.9.0

Done in https://github.com/elixir-tesla/tesla/releases/tag/v1.9.0

How about we switch to mint as the default adapter, making `:httpc` an explicit choice (`config :tesla, adapter: Tesla.Adatper.Httpc`)? This would require a good error message in case `mint` is...

There is also this PR https://github.com/elixir-tesla/tesla/pull/540 that implements streaming for Finch. I’d say we go with the `response: :stream` opt and implement each adapter separately.

Everything is possible :) Pull request is more than welcome

@monterail/dev any other opinions?

I will still prefer "raw" SQL over using existing models. Keeping tests for those migrations pass seems like a pointless additional work. And what happens when you remove the models...