You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: symfony/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -361,7 +361,7 @@ The framework also uses these metadata to serialize and deserialize data from JS
361
361
362
362
For the sake of simplicity, in this example we used public properties (except for the ID, see below). API Platform (as well
363
363
as Symfony and Doctrine) also supports accessor methods (getters/setters), use them if you want to.
364
-
We used a private property and a getter for the ID to enforce the fact that it is read only (we will let the DBMS generate it). API Platform also has first-grade support for UUIDs v7. You should probably use them instead of auto-incremented IDs.
364
+
We used a private property and a getter for the ID to enforce the fact that it is read only (we will let the DBMS generate it). API Platform also has first-grade support for UUIDs v7. In some cases it is preferable use them instead of auto-incremented IDs.
365
365
366
366
Because API Platform provides all the infrastructure for us, our API is almost ready!
0 commit comments