Skip to content

Conversation

andrewheard
Copy link
Contributor

Replaced the SafetyRating.HarmProbability enum with a struct to prevent breaking changes when new values are added (since switch statements must be exhaustively checked in Swift). This follows the same design pattern as #13728 (HarmCategory).

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review October 8, 2024 23:55
@andrewheard andrewheard requested a review from paulb777 October 8, 2024 23:55
@andrewheard andrewheard merged commit 1e63a55 into main Oct 9, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-harmprobability branch October 9, 2024 00:47
MojtabaHs pushed a commit to MojtabaHs/firebase-ios-sdk that referenced this pull request Oct 17, 2024
@firebase firebase locked and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants