-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Permit version
0.3.0
Elixir/OTP version
Latest
Bug description
When using Permit with Permit.Phoenix but not Permit.Ecto, the loader function does not carry over the entire resolution_context, which means that e.g. the LiveView socket is not available to Permit.
Steps to reproduce
Use Permit.Phoenix with a loader function (i.e. without Permit.Ecto).
Code sample
Expected behavior
Socket is accessible to the loader function in its resolution_context argument.
Actual behavior
Loader function only receives loader and params keys in the argument.
Error logs/stack trace
Additional context
No response
Checklist
- I have searched for existing issues before creating this one
- I have provided all the requested information
- This is a bug report, not a feature request or question. For general questions, please use Elixir Slack's Permit channel.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working