dwyl / dwyl/elixir-plug-tutorial

Function Plugs

未关闭
#1 0 条评论 0 个 reaction 已指派 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 摘要。