dwyl / dwyl/elixir-plug-tutorial

Function Plugs

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
Elixir
スター
8
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。