Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip generation for invalid stubs #93

Open
DenTray opened this issue Oct 7, 2024 · 0 comments
Open

Skip generation for invalid stubs #93

DenTray opened this issue Oct 7, 2024 · 0 comments

Comments

@DenTray
Copy link
Collaborator

DenTray commented Oct 7, 2024

At the moment if there is invalid stub name in the package config, generation will be failed with the next error

image

It's not clear for package users what exactly brake the process.

We need to make the following:

  1. Throw human readable error Generation of $classType has been skiped cause the view $viewName from the config $configName is not exists. Please check that config has the correct view name value.
  2. Class with incorrect stub name should not be generated
  3. Other classes should be generated (if they not related to skippable class)
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

No branches or pull requests

1 participant