Skip to content

Make project model extractor template safer - #25

Merged
NiklasRentzCAU merged 2 commits into
mainfrom
nre/generator-validation-and-errors
Nov 2, 2026
Merged

NiklasRentzCAU merged 2 commits into
mainfrom
nre/generator-validation-and-errors

Conversation

@NiklasRentzCAU

Copy link
Copy Markdown
Member

Until now, the model extractor template did not report real errors and silently accepted many failure cases without reporting them. This merge request fixes these problems so that CI can also detect errors automatically.

  • The template returns appropriate error codes on success, on errors, and on invalid input.
  • It validates the input path, output path, project name, and file names before generation starts.
  • An empty template now results in an error instead of merely warning the user.

Niklas Rentz added 2 commits October 8, 2026 09:09
- template returns error codes for success/failure/invalid input
- validates input path, output path, and project name/filenames parameters before generation
- empty template now fails instead of just warning the user
@NiklasRentzCAU NiklasRentzCAU self-assigned this Nov 2, 2026
@NiklasRentzCAU
NiklasRentzCAU merged commit baba927 into main Nov 2, 2026
1 check passed
@NiklasRentzCAU
NiklasRentzCAU deleted the nre/generator-validation-and-errors branch November 2, 2026 17:12
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.

1 participant