DEV Community

Discussion on: Custom identifiers with ApiPlatform

Collapse
 
markopaden profile image
Marko Pađen

Depending on your use case, exposing timestamp (as date of creation) can be even worse than exposing incremental id. Of course, if your domain requirements are different, it is a perfectly good solution.