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
I'm super new to elixir, so forgive me if the below doesn't make sense.
If I attempt to use a functional plug with the router macros e.g. match I get the error ** (UndefinedFunctionError) function :foo.init/1 is undefined (module :foo is not available). I'm pretty sure the issue is not with my plug, as it works when using the regular plug macro e.g. plug :foo.
If I'm not making any errors then please consider this a feature request - The functional plugs are much more simple/concise, so it would be great to be able to use them in more places, if not everywhere, just for the sake of consistency.
The text was updated successfully, but these errors were encountered:
I'm super new to elixir, so forgive me if the below doesn't make sense.
If I attempt to use a functional plug with the router macros e.g.
match
I get the error** (UndefinedFunctionError) function :foo.init/1 is undefined (module :foo is not available)
. I'm pretty sure the issue is not with my plug, as it works when using the regular plug macro e.g.plug :foo
.Minimal reproduction below
If I'm not making any errors then please consider this a feature request - The functional plugs are much more simple/concise, so it would be great to be able to use them in more places, if not everywhere, just for the sake of consistency.
The text was updated successfully, but these errors were encountered: