dwyl / dwyl/elixir-plug-tutorial

Function Plugs

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Elixir
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Description

As noted by @th0mas in https://github.com/dwyl/auth/pull/85#discussion_r488589858 we should use a Function Plug whenever we want an elegant way of reusing a particular function in the context of a Plug Pipeline / Phoenix Controller. We have created Function Plugs before in several _client_ projects but not written it up anywhere.

+ https://hexdocs.pm/plug/readme.html
+ https://elixircasts.io/intro-to-function-plugs
+ https://elixirschool.com/en/lessons/specifics/plug

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.