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

[10.x] Allow for relation key to be an enum #50311

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Commits on Feb 29, 2024

  1. Allow for relation key to be an enum

    If a foring key is being cast to an enum calling ->sync() will cause a TypeError: Illegal offset type.
    
    This resolves the issue by getting the value before using it as an array key.
    AJenbo authored Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5df9ae1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61a8f64 View commit details
    Browse the repository at this point in the history