Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection][Routing] Add JSON schema for validating and autocompleting YAML config files#61282
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
OskarStark commentedJul 31, 2025
Little bit off topic, but what do you think about a JsonSchema component? we could also reuse this in symfony/ai |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
nicolas-grekas commentedJul 31, 2025
not mine to write, that typically the kind of stuff I'd rather outsource to another lib |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
HypeMC left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I've noticed a few issues while testing.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.schema.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedAug 21, 2025
PR updated. |
…ocompleting YAML config files
alexandre-daubois left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fabpot commentedAug 22, 2025
Thank you@nicolas-grekas. |
b614d0a intosymfony:7.4Uh oh!
There was an error while loading.Please reload this page.
… and autocompleting YAML config files (nicolas-grekas)This PR was merged into the 7.4 branch.Discussion----------[Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files| Q | A| ------------- | ---| Branch? | 7.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Issues | -| License | MITSame as#61282 but for serialization and validation metadata.This provides autocompletion/validation on IDEs that support JSON schema for YAML files, such as phpStorm.We need to remember updating the serialization schema when context builders are updated.Commits-------f3ff89a [Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files

Uh oh!
There was an error while loading.Please reload this page.
Related to#59620
This provides autocompletion/validation on IDEs that support JSON schema for YAML files, such as phpStorm.
Note that this cannot support yaml tags, so no autocompletion after
!servicefor example.The only way to provide this would be to ship a language server. Out of reach I fear.
Recipe update atsymfony/recipes#1447