🌐 AI搜索 & 代理 主页
Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Conversation

@sanderdlm
Copy link

Figured it would be a nice QoL improvement to accept and automatically transform enum values passed as parameters.

@derrabus
Copy link
Contributor

See symfony/symfony#44831

@sanderdlm
Copy link
Author

Ah I see. Guess I'll use this param converter as a temporary solution in my projects until the 6.1 release drops. Thanks 🙂

@sanderdlm sanderdlm closed this Feb 24, 2022
@derrabus
Copy link
Contributor

You might as well copy the BackedEnumValueResolver class from the 6.1 branch into your codebase for the time being. And if it does not work, open a bug. This could help us stabilizing the feature. 🙂

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants