Feat: create generic strip_struct_metadata
to remove surplus fields from Struct
#54
Labels
chore
a tedious but necessary task often paying technical debt
discuss
Share your constructive thoughts on how to make progress with this issue
enhancement
New feature or request
help wanted
Extra attention is needed
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
T25m
Time Estimate 25 Minutes
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
At present we have a
strip_struct_metadata/1
function is hidden in:https://github.com/dwyl/auth_plug/blob/da40aca75d5ecc0fc016023f4a61eb6f4b7cfb6f/lib/auth_plug_helpers.ex#L18C1-L33C6
We can easily make this function generic and reusable by accepting a second argument
field_list
.Todo
auth_plug
and extend withfield_list
)hex.pm
The text was updated successfully, but these errors were encountered: