- Issue created by @bbrala
- πΊπΈUnited States neeks
Does composer autoload its own dependencies? When I run
composer why justinrainbow/json-schema
it outputs:composer/composer 2.8.4 requires justinrainbow/json-schema (^5.3) drupal/core-dev 10.4.0 requires justinrainbow/json-schema (^5.2)
Sidebar: I found my way here after spending all day trying to figure out why my theme's custom link utility component kept throwing errors over the
attributes
object prop I had defined with messages like[attributes] String value found, but an object is required
. Anotherattributes
property was always getting set regardless of using `only` to try and control context.I ended up just deleting the custom prop definition, but that felt like it kind of defeated the whole point of a schema. Validation needs to be optional or "looser"