DEV Community

Discussion on: Custom identifiers with ApiPlatform

Collapse
 
deozza profile image
Edenn Touitou

This is cool. Unless you use something else than mysql. Because it fits better to my needs, I use MongoDB and I have to use classic auto-indent Id. I can't use custom uuid property.

Collapse
 
markopaden profile image
Marko Pađen

This is indeed written with relational databases in mind. However, you still want to hide internal incremental ID from your API for the reasons mentioned above.