7 ms·
I feel that this advice is almost opposite to that given in the article. By making all fields optional, your data model no longer helps in making invalid states
by nemetroid 6y ago
I feel that this advice is almost opposite to that given in the article. By making all fields optional, your data model no longer helps in making invalid states unrepresentable.
- H8crilA 6y agoExactly! Because today's invalid states are commonplace in the future.