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

Unbox laravel-enum inputs when using the builder directives #927

Merged
merged 4 commits into from
Aug 22, 2019

Conversation

spawnia
Copy link
Collaborator

@spawnia spawnia commented Aug 22, 2019

  • Added or updated tests
  • Added Docs for all relevant versions
  • Updated the changelog

Related Issue/Intent

When using laravel-enum based values with builder directives such as @whereJsonContains, Laravel did not use the internal value of the Enum.

Fixes a regression caused through #908

Changes

Unbox instances of \BenSampo\Enum\Enum when using them in a builder directive.

Breaking changes

No

@spawnia spawnia added the bug An error within Lighthouse label Aug 22, 2019
@spawnia spawnia merged commit 977a632 into master Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error within Lighthouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant