Comments (5)
I have the same issue
from elixirretry.
@seddy Apologies for the delay in getting back to you.
This is a tricky one. On the one hand, it's understandably annoying to get these warnings from a dependency. On the other, the "offending" code is perfectly idiomatic as far as I'm concerned. Also, I'm not sure if moving the case
clause to to a function will fix the problem. Even if it does, the resulting code will most likely be very verbose and unreadable.
I'm going to reach out to the wider Elixir community for their opinion on this issue. Feel free to do the same. In the meantime, you can ignore the warnings as documented here so you can continue using Dialyzer in your project.
from elixirretry.
Sorry to say but this is a show stopper for us. We simply can't silence the error the way you describe and trust the output of dialyzer. Your code may be idiomatic but not pragmatic. I have to remove this dependency from our codebase until the issue is resolved. Which is sad because I like the functionality.
from elixirretry.
@edescourtis That's unfortunate. Have you tried the latest version to see if it solves this issue? If not, you're more than welcome to submit a PR. If you're planning to do so, I can reopen it.
from elixirretry.
Thanks, I might do that although it might be a little bit. I need to finish some other things first.
from elixirretry.
Related Issues (20)
- It would be great to be able to get information about the error HOT 6
- Is there a way to retry on any error? HOT 2
- Unable to specify "all errors or exceptions" HOT 1
- access to result/error in then/else blocks? HOT 5
- define total retry timeout HOT 3
- Different Atoms for Retry HOT 2
- Elixir compiler warning in application code with Retry 0.9.0 HOT 1
- Arithmetic error when taking many values from a stream HOT 2
- lin_backoff is actually exponential HOT 7
- Unexepected behavior in expire/2 & crash when combining with randomize/2 HOT 8
- Wrong syntax error HOT 2
- Retries are made in the test env HOT 2
- exception stacktrace in else block HOT 3
- Create github actions to validate tests and coverage upon PRs HOT 2
- Bug: expiry/3 evaluates the expiry time at time of stream definition HOT 1
- Specify only _some_ errors to be retried. HOT 2
- How to handle 3 element error tuples ?
- Current jitter implementation is not very practical HOT 1
- Document why an application must be started
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixirretry.