Skip to content

Conversation

@loicsapone
Copy link
Contributor

@loicsapone loicsapone commented May 3, 2024

Hi 👋

The purpose of this PR is to add support for enumerations when creating an entity.
Instead of introducing a new field type, I've opted to add a prompt to supplement a text field with the enumType option.


Edit by @jrushlow
fixes #1440 fixes #1233

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.

Howdy @loicsapone - Thank you for getting this going! I do have one change that we need to address before we can move forward with the review / merge.

Side note: this fixes #1440

@jrushlow jrushlow added Feature New Feature Status: Needs Work Additional work is needed labels May 6, 2024
@jrushlow jrushlow added this to the v1.60.0 milestone May 6, 2024
@loicsapone
Copy link
Contributor Author

@jrushlow I've pushed the new "enum" type under the "other" category
With the new type, I've been able to add support for multiple enums

@loicsapone loicsapone requested a review from jrushlow May 6, 2024 19:23
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.

Look's good, let's run with it! Thank you @loicsapone

@jrushlow jrushlow merged commit 6408fca into symfony:main May 19, 2024
@jrushlow jrushlow mentioned this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New Feature Status: Needs Work Additional work is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make:entity and enums make:entitiy: Suggestion: Add enumType

2 participants