Skip to content

Make authenticateUser function throwing - #27

Merged
daneden merged 2 commits into
daneden:mainfrom
Tunous:throwing-authenticateUser
May 22, 2022
Merged

Make authenticateUser function throwing#27
daneden merged 2 commits into
daneden:mainfrom
Tunous:throwing-authenticateUser

Conversation

@Tunous

@Tunous Tunous commented May 22, 2022

Copy link
Copy Markdown
Contributor

This pull request adds a throwing version of authenticateUser function.

By making this function throwing we remove from the user the need to handle third (most likely never happening) state where both user and error are nil.

@daneden
daneden merged commit 9f50f1f into daneden:main May 22, 2022
@daneden

daneden commented May 22, 2022

Copy link
Copy Markdown
Owner

Nice catch! Thanks for contributing @Tunous!

@Tunous
Tunous deleted the throwing-authenticateUser branch May 22, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants