-
Notifications
You must be signed in to change notification settings - Fork 350
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
1.2 draft #240
Comments
I vote for
Do we have a plan to deprecate/remove macros in the long run? Maybe something like:
Wouldn't it cause same issues as current timeout middleware? |
I think we can keep both, I don't have a strong urge to remove macros.
No, since in test you'd replace that adapter with Tesla.Mock (or other) |
Regarding a well-defined adapter interface:
Since none of the current adapters define proper error contract, I don't see how could tesla enforce one. |
Tesla 1.2 Draft
This is an early draft of proposed changes for next version of tesla.
All feedback is more than welcome - the more I know how you all use this library the better it can become 💃
There are three main points I'd like to tackle (A, B and C). This does not mean any other issues/improvements won't make it into the next release, these are the biggest & hardest ones.
A. Promote macro-less clients
Instead of
use this one
or with dynamic middleware/adapter
The reasons for such change are (unordered):
get/post/...
functionsdelete
function)The changes required are very minimal:
Tesla.client/1
andTesla.client/2
(Should it be calledTesla.new
?)---
WDYT?
The text was updated successfully, but these errors were encountered: