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

Create constructor rule to support the extended annotator and disabling default constructor generation #23

Closed
lengors opened this issue Aug 15, 2024 · 0 comments · Fixed by #26
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@lengors
Copy link
Owner

lengors commented Aug 15, 2024

Description

A constructor rule to support the extended annotator is needed. On top of that, since the default one for jsonschema2pojos doesn't, currently, support disabling the generation of default constructor, such a feature would be a nice to have.

Proposed solution

Create a constructor rule that takes in as a parameter a flag to disable the generation of default constructor and also notifies annotator if instance extends the extended annotator interface.

Alternatives considered

No response

Screenshots

No response

Additional context

No response

Related issues, discussions or pull requests

No response

@lengors lengors added the enhancement New feature or request label Aug 15, 2024
@lengors lengors added this to the Version 1.0.0 milestone Aug 15, 2024
@lengors lengors self-assigned this Aug 15, 2024
@github-project-automation github-project-automation bot moved this to Todo 📝 in Js2pets Aug 15, 2024
@lengors lengors closed this as completed Sep 3, 2024
@github-project-automation github-project-automation bot moved this from In Progress 🚧 to Done ✅ in Js2pets Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment