Skip to content

Conversation

@IndraGunawan
Copy link
Contributor

changes from #1571 breaks if config is in php files even $namespace has a default value

this PR read the processed twig_component config no matter how the config was created

@IndraGunawan IndraGunawan changed the title read processed twig_component config instead parse the yaml file [make:twig-component] read processed twig_component config instead parse the yaml file Dec 5, 2024
@IndraGunawan IndraGunawan changed the title [make:twig-component] read processed twig_component config instead parse the yaml file [make:twig-component] read processed twig_component config instead of parsing the yaml file Dec 7, 2024
@smnandre
Copy link
Member

This will need to be updated if we change anything in the extension, add a pass, etc etc..

Seems a bit risky, but in the same time in understand the need 🤷

@IndraGunawan
Copy link
Contributor Author

@smnandre thanks for your feedback

if this change is a bit risky, i would revert the changes and instead make the command not throwing an error if the yaml config is not exist but it makes the feature only be available on yaml config

in current condition it is totally broken for php config

wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants