8000 enable_annotations is enabled by default · symfony/symfony-docs@a540844 · GitHub
[go: up one dir, main page]

Skip to content

Commit a540844

Browse files
authored
enable_annotations is enabled by default
Not sure at 100% of the use of `FullStack` means, but in a default Symfony app `enable_annotations` is always true. ```bash php bin/console config:dump-reference framework ``` ```yaml validation: enabled: true cache: ~ enable_annotations: true # serializer configuration serializer: enabled: true enable_annotations: true ```
1 parent 787c341 commit a540844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/framework.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ settings is configured.
25122512
enable_annotations
25132513
..................
25142514

2515-
**type**: ``boolean`` **default**: ``false``
2515+
**type**: ``boolean`` **default**: ``true``
25162516

25172517
If this option is enabled, validation constraints can be defined using annotations or attributes.
25182518

@@ -2720,7 +2720,7 @@ Whether to enable the ``serializer`` service or not in the service container.
27202720
enable_annotations
27212721
..................
27222722

2723-
**type**: ``boolean`` **default**: ``false``
2723+
**type**: ``boolean`` **default**: ``true``
27242724

27252725
If this option is enabled, serialization groups can be defined using annotations or attributes.
27262726

0 commit comments

Comments
 (0)
0