"Cannot autowire service" error, when you have a syntax error in an extension. #2586
Labels
🐛 tag: bug
This is a bug.
topic: DX
Improving code quality, tests coverage, making codebase more intuitive
When you're developing an extension, and have a file in that extension with a Syntax error, you might get this confusing error:
This is confusing, because
Bolt\Article
seems unrelated. Working theory is that it breaks adding the Bolt extensions to the container, and that "Article" happens to be the first it then tries to instantiate.The text was updated successfully, but these errors were encountered: