4 ms·
Application level code validates UUIDs based on a specific format not to mention what the specific database might expect depending on the data type
by weird-eye-issue 5y ago
Application level code validates UUIDs based on a specific format not to mention what the specific database might expect depending on the data type
- lytedev 5y agoThis sounds like a mistake? When/why should the application validate the format of a UUID?
- cratermoon 5y agoWhy shouldn't they?
- therealdrag0 5y agoWhen our services get Strings in requests that are UUIDs we convert them to typed java.util.Uuid objects, if they're not valid they get rejected.