pow-auth / pow

Robust, modular, and extendable user authentication system
https://powauth.com
MIT License
1.58k stars 152 forks source link

Issue 707 #708

Closed jrfranks closed 10 months ago

jrfranks commented 10 months ago

Suggested fixes to deprecation warnings produced by Elixir V1.15.2

In Elixir, using the "raise ..." syntax is widely accepted. However, by switching to the "raise(...)" format, we can clear out multiple verbose "ambiguity" compiler warnings. Any warnings from the pow library have the potential to obscure real issues within a user's code-base. To offer a more streamlined and user-friendly experience, I've chosen to heed the compiler's advice and depart from conventional practices.

jrfranks commented 10 months ago

I am closing this while I work on improving changes to template.ex

danschultzer commented 10 months ago

Thanks! I was working on it in a branch with #710, but got occupied with other stuff and didn't open the PR until now. It's in main now!