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

Start validating the sessionUserInfo type. #427

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

thomasvl
Copy link
Member

@thomasvl thomasvl commented Jan 7, 2025

The api is documented as NSString to NSString, but nothing validates that. Add some DEBUG validations with the intent to eventually turn them into failure checks also.

Add a note to sessionIdentifierMetadata that the type there is already a lie, we'll have to look at fixing that in the future as it is a breaking change since it is a signature change.

The api is documented as `NSString` to `NSString`, but nothing validates that.
Add some `DEBUG` validations with the intent to eventually turn them into
failure checks also.

Add a note to `sessionIdentifierMetadata` that the type there is already a lie,
we'll have to look at fixing that in the future as it is a breaking change since
it is a signature change.
@thomasvl thomasvl marked this pull request as ready for review January 8, 2025 12:58
@thomasvl thomasvl requested a review from dmaclach January 8, 2025 12:58
@thomasvl thomasvl merged commit 873304f into google:main Jan 8, 2025
25 checks passed
@thomasvl thomasvl deleted the better_validation branch January 8, 2025 18:32
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