4 ms·
This is not an issue with Option at all. When you receive data from an external system, you should always parse it before making assumptions. By parsing I don't
by beoh 6y ago
This is not an issue with Option at all. When you receive data from an external system, you should always parse it before making assumptions. By parsing I don't mean read property x as string, but make it a CustomerId for example, considering your constraints before accepting the value.