Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Nov 3, 2025

Q A
Type feature
BC Break yes
Fixed issues -

Summary

Use Symfony UUID instead.

@GromNaN GromNaN added this to the 3.0.0 milestone Nov 3, 2025
Comment on lines -2171 to -2177
/**
* Checks whether the class will generate a uuid id.
*/
public function isIdGeneratorUuid(): bool
{
return $this->generatorType === self::GENERATOR_TYPE_UUID;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a deprecation before removing this method: #2896

You can configure custom ID strategies if you don't want to use the default
object ID. The available strategies are:

- ``AUTO`` - Automatically generates an ObjectId or Symfony UUID depending on the identifier type.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note you've removed mentioned the uuid type, it'd be nice to have it here so people know what to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants