3 ms·
Because in SPAs if a user creates new entities it can be easier to generate the UUIDs client side. So then just a simple validation server side to ensure the d
by threeseed 3y ago
Because in SPAs if a user creates new entities it can be easier to generate the UUIDs client side.
So then just a simple validation server side to ensure the data isn't malicious.
- devoutsalsa 3y agoNever trust the client.
- jeffparsons 3y agoYeah, you can require them to generate a UUID if it helps for your app (e.g. bulk create objects with relationships between them) but then on the server you can generate new UUIDs and return a mapping from old->new to the client.