You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use property pattern matching on union for clearer code
Refactored the Read method to use switch expression with property
pattern matching directly on the union object, instead of switching
on a tuple of boolean flags. This makes the code more idiomatic and
easier to read.
Co-authored-by: Scooletz <scooletz@users.noreply.github.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
0 commit comments