How do pattern matching for switch and record patterns

For a sealed LedgerEvent I switch on Posted, Reversed, Voided and bind record components in the case. Adding a fourth event fails compilation until I handle...

How do pattern matching for switch and record patterns · Home · Support the platform