dwyl / dwyl/useful

Strip Struct Metadata

Open
#81 2 comments 0 reactions 0 assignees View on GitHub
chore help wanted T25m technical
Dominant language
Elixir
Stars
36
Forks
6
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/dwyl/auth/blob/cbeedace69af42acb604137c5b5a5acbac6a58f1/lib/auth/role.ex#L172-L176 we wrote a function to strip `Struct` metadata. I find myself needing it again in the work I'm doing today.
So going to pull it out to here ...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading lib/auth/role.ex at lines 172-176 in the linked dwyl/auth revision to understand the existing Struct-metadata stripping function. Then inspect this repository's utility organization and test conventions before determining where the reusable function belongs. Done means the behavior is available here without duplicating the original implementation and is covered by the repository's tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.