You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dialyzer complains with the "Function data/1 has no local return" message, which trickles up to its callers (terminating with the dataloader setup function).
(ie no default_params), then I get no dialyzer warnings (at all, in a 310-file project, how did that happen?). Yay! Of course, I need the default params in order to pass auth information to the queries.
Looking in Dataloader.Ecto.new I see plenty of opportunities for things to go wrong, but I'm not convinced I can fix it before the heat-death of the universe. Any dialyzer gurus fancy taking a look?
Thanks, Rob.
The text was updated successfully, but these errors were encountered:
That fixed it. Thanks for your customarily insanely rapid response. Seriously, take a break dude.
Side note: I actually tried making that change in my local copy before creating this issue, but I obviously didn't flush some dialyzer cache or did something equally stupid since it didn't do the trick for me.
Using dataloader 1.3 on:
When my
data
functions look like:Dialyzer complains with the "Function data/1 has no local return" message, which trickles up to its callers (terminating with the
dataloader
setup function).If the code looks like:
(ie no default_params), then I get no dialyzer warnings (at all, in a 310-file project, how did that happen?). Yay! Of course, I need the default params in order to pass auth information to the queries.
Looking in Dataloader.Ecto.new I see plenty of opportunities for things to go wrong, but I'm not convinced I can fix it before the heat-death of the universe. Any dialyzer gurus fancy taking a look?
Thanks, Rob.
The text was updated successfully, but these errors were encountered: