OpenBankProject / OpenBankProject/OBP-API
AuthUser and ResourceUser have two fields which seem redundant?
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
From Marko:
AuthUser and ResourceUser have two fields which seem redundant.
AuthUser:
email
username
ResourceUser
email
name_
Do we need it in both tables or we can remove they from one?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the AuthUser and ResourceUser definitions and comparing the uses of email, username, and name_. Trace whether each field is required by authentication, resource access, or external API behavior. Done means reaching a project-backed decision about whether either field can be removed without breaking those uses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend-api-design, database
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100