You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This YAML format doesn't appear to be an agreed part of the spec - here is a feature request for a very similar format that was declined: yaml/yaml#35
Attempting to run a dev/build using the format documented here will result in an error like this:
Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: You cannot define a sequence item when in a mapping at line 68 (near "- BannerHeading"). in /path/vendor/symfony/yaml/Parser.php:146
The YAML format in the README for adding extra indexed_fields to classes that extend the base class is invalid:
This YAML format doesn't appear to be an agreed part of the spec - here is a feature request for a very similar format that was declined: yaml/yaml#35
Attempting to run a
dev/build
using the format documented here will result in an error like this:This question on Stack Overflow also appears to indicate it's not really possible: https://stackoverflow.com/questions/4948933/is-there-a-way-to-alias-anchor-an-array-in-yaml
One answer from that question does give a solution that works (https://stackoverflow.com/a/67265299)
An equivalent format that works would be:
It's a bit of a pain to keep track of the integer keys, but it seems like it is the only way to avoid a lot of copy/paste
The text was updated successfully, but these errors were encountered: