I'm trying to import a custom config file called test.yaml.
I put the test.yaml in the config/packages/local folder and in config/packages folder.
The test.yaml file looks like this:
# config/packages/test.yaml
test1: 'hello'
When I compile the application I get this error: "There is no extension able to load the configuration for "test1"
Now You're gonna to tell me that i need to create and extension and blabla. But I cannot figure out. Is there a way to create an extension without creating a Bundle. I cannot find any example on the documentation that talks about Extension outside a Bundle scope. I mean I want to create it in the src folder ?
A related question is: If I setup a TreeBuilder like in this example: https://symfony.com/doc/current/components/config/definition.html
is it possible to avoid to create an Extension ?
The Symfony version is 5.1.