Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[make:entity] Improve uid support #1139

Merged
merged 2 commits into from
Jul 5, 2022
Merged

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented Jun 15, 2022

  1. Currently uuid is offered as the default type when the field name is uuid, which breaks when the symfony/uid component is not installed. Now guid is used when uuid is not available.

  2. Getters & setters for uuid/ulid types now have type hints added when generated.

@jrushlow jrushlow added the Feature New Feature label Jul 5, 2022
Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

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

Thank you @HypeMC

@jrushlow jrushlow merged commit b23178c into symfony:main Jul 5, 2022
@HypeMC HypeMC deleted the improve-uid-support branch July 5, 2022 16:20
@jrushlow jrushlow mentioned this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants