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

Support PHP 8.1 enum #406

Open
vincentchalamon opened this issue Jun 29, 2023 · 0 comments
Open

Support PHP 8.1 enum #406

vincentchalamon opened this issue Jun 29, 2023 · 0 comments

Comments

@vincentchalamon
Copy link
Contributor

Description
Currently, the Schema Generator only supports enums through myclabs/php-enum. Since 8.1, PHP natively supports enum. The Schema Generator should use it instead of myclabs/php-enum.

To do so, we should bump PHP version to 8.1, as it's already done in api-platform/core.

Example

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

No branches or pull requests

1 participant