Skip to content

Stronger manager state typing#46

Merged
dcaunt merged 2 commits intomainfrom
dave/identity-source-of-truth
Aug 1, 2024
Merged

Stronger manager state typing#46
dcaunt merged 2 commits intomainfrom
dave/identity-source-of-truth

Conversation

@dcaunt
Copy link
Collaborator

@dcaunt dcaunt commented Aug 1, 2024

Model identity, or 'manager state', using a single value (Android SDK already does this) and add conveniences for deriving/extracting the token identity and status. This will allow callers to observe a single value (follow-up PR) and lets us tighten up some internal code by no longer modelling invalid states.

@dcaunt dcaunt changed the title Dave/identity source of truth Stronger manager state typing Aug 1, 2024
Copy link

@mrmans0n mrmans0n left a comment

Choose a reason for hiding this comment

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

Do we need to relax a bit the linting about max lines?

@dcaunt
Copy link
Collaborator Author

dcaunt commented Aug 1, 2024

Do we need to relax a bit the linting about max lines?

Yeah, I'll follow up when I've taken a look at all the Swiftlint rules. I need to disable the false positive's for UTF-8 data too.

@dcaunt dcaunt merged commit b3138d3 into main Aug 1, 2024
@dcaunt dcaunt deleted the dave/identity-source-of-truth branch August 1, 2024 13:52
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.

2 participants