-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Can't use config files without bundle #21187
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
Comments
There is a pending PR regarding the validator: #19086 :) |
@ogizanagi I totally missed them, thanks. |
I agree it must be done for 3.3 as bundle-less apps will become first-class citizens. I can work on this. |
That would be great
… On 7 Jan 2017, at 10:48, Kévin Dunglas ***@***.***> wrote:
I agree it must be done for 3.3 as bundle-less app will become fist-class citizens. I can work on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks. Note that #19086 does it for the validator by adding a config option instead of only detecting some given places in |
I'll wait the merge of this one because most code can be factorized. |
#19086 has been merged now |
see #21924 |
…g paths (chalasr) This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle] Allow to configure Serializer mapping paths | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21187 | License | MIT | Doc PR | todo Follows #19086 for the Serializer Commits ------- 5446903 [FrameworkBundle] Allow configuring serializer mapping paths
Similar to #15655 for the serializer.
Actually, the serializer configuration files must reside in a bundle to be detected e.g.
AppBundle/Resources/config/serialization
.On the other hand, translations files are loaded from bundles and from the global
app/Resources/translations
directory. For doctrine, the path of mapping files can be configured.Shouldn't we try to detect those configuration files in
%kernel.root_dir%/Resources/config/serialization
as well?The text was updated successfully, but these errors were encountered: