3 ms·
This doesn’t make sense. If you’re going to generate a new key if the user doesn’t exist then you’re creating a new user anyway, so there’s no hidden informatio
by maronato 3y ago
This doesn’t make sense.
If you’re going to generate a new key if the user doesn’t exist then you’re creating a new user anyway, so there’s no hidden information.
Unless you mean that the system should return a bogus id instead of a status 40X when the user doesn’t exist, which makes even less sense.
ID generation should usually only happen when creating new assets, so it should be as fast as possible.