Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(authN): change SapID to UniqueUserId (#85) #93

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Conversation

michalkrzyz
Copy link
Collaborator

Change name of variable SapId to UniqueUserId
Add user Type variable to distinguish technical user and casual user Add gqlgen makefile target
Add fmt makefile target

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uniqueUserID should be enough. Wdy @drochow

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't get your question

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MR2011 I have left user because I was changing SapID to UniqueUserID, so userSapID became userUniqueUserID. I don't know why it was named userSapID in here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO user_type is fine, do you prefer an enum? @drochow

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like enforcing on the DB level where possible, but in this case, the probability that we might add other types might favor using no enum here.

@michalkrzyz michalkrzyz changed the title feat(issue): change SapID to UniqueUserId (#85) feat(authN): change SapID to UniqueUserId (#85) Jul 30, 2024
@michalkrzyz michalkrzyz force-pushed the mikrzyz/issue-85 branch 3 times, most recently from 38ba9f5 to def4489 Compare July 31, 2024 12:41
Change name of variable SapId to UniqueUserId
Add user Type variable to distinguish technical user and human user
@drochow drochow merged commit a7c6260 into main Aug 1, 2024
4 checks passed
@drochow drochow deleted the mikrzyz/issue-85 branch August 1, 2024 11:36
Copy link
Collaborator

@drochow drochow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thanks!

dustindemmerle pushed a commit that referenced this pull request Aug 6, 2024
* feat(authN): change SapID to UniqueUserId (#85)

Change name of variable SapId to UniqueUserId
Add user Type variable to distinguish technical user and human user

* Automatic application of license header

---------

Co-authored-by: License Bot <[email protected]>
Co-authored-by: David Rochow <[email protected]>
Co-authored-by: Michael Reimsbach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants