[FEATURE-REQUEST] Passing Plug.conn struct to resources
- 主要言語
- Elixir
- スター
- 1.4k
- フォーク
- 171
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the problem you're proposing to solve**
It is a convention in Phoenix that a lot of useful and data which is needed at some point is stored in `conn` struct. So it will be helpful if we can have an option to pass it along resources which are being created in `create_resources` function
**Describe the solution you'd like**
Support for passing `conn` from phoenix router to `resources`
**Describe alternatives you've considered**
Custom queries can make this work done as suggested by @aesmail
**Additional context**
If someone wants to get this work done until next release, have a look at the following link
https://elixirforum.com/t/kaffy-a-quick-and-flexible-admin-interface-for-phoenix-applications/31355/39
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。