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

Enum support for morph types #2544

Closed
wants to merge 3 commits into from
Closed

Enum support for morph types #2544

wants to merge 3 commits into from

Conversation

skaesdorf
Copy link
Contributor

@skaesdorf skaesdorf commented Apr 20, 2024

Resolves #2543

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Native PHP Enums registered through the TypeRegistry may be used as morph type in nested MorphTo relations

Breaking changes

None

@spawnia
Copy link
Collaborator

spawnia commented Apr 21, 2024

@skaesdorf Unfortunately I can not push directly to your branch, thus I created #2547. Are you fine with merging it as-is, or do you want to include the cleanup in your PR and have me merge that?

@spawnia spawnia added the enhancement A feature or improvement label Apr 21, 2024
@skaesdorf
Copy link
Contributor Author

@spawnia Thank you! Sure, just merge it. Do you have an estimate when this will be availabe via composer?

@spawnia spawnia closed this May 1, 2024
@skaesdorf skaesdorf deleted the enum_support_for_morph_types branch May 2, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enum Support for Morph Types
2 participants