-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Ensure that groups are strings #17430
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
Conversation
dunglas
commented
Jan 18, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | n/a |
License | MIT |
Doc PR | n/a |
👍 One more thing to note. If such a yml is provided to the loader: Acme\MyObj:
attributes:
foo:
groups: 'group1'
If you think this should be in another PR, than sorry. :) |
3b6a90b
to
b8a9e7c
Compare
Good catch @paradajozsef, I've added a separate commit in this PR. |
👍 |
This is more a bug fix than a new feature ;-) 👍 debugging is easier with this kind of check 😄 |
We should include the name of the file and probably some other related information (class name, property or something like that) to make it easier to spot the place where the configuration is wrong. |
I agree with @xabbuh |
Thank you @dunglas. |
This PR was squashed before being merged into the 2.7 branch (closes #17430). Discussion ---------- [Serializer] Ensure that groups are strings | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 0a3b877 [Serializer] Ensure that groups are strings