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

Stronger manager state typing #46

Merged
merged 2 commits into from
Aug 1, 2024
Merged

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
3 checks passed
@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