novaframework / nova

Web framework for Erlang.
http://www.novaframework.org
Apache License 2.0
230 stars 21 forks source link

[FEAT] Use funs instead of MF(A) #281

Closed burbas closed 3 months ago

burbas commented 3 months ago

This changes the behavior in Nova in regards to referencing routes and modules;

For http-routes we are using the {Module, Func} notation today but with this commit it will change into fun Module:Func/1 which might be a bit clearer. This is also applicable when defining a security-handler.