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

Scaffolding Feature #606

Open
sdelamo opened this issue Sep 13, 2023 · 0 comments
Open

Scaffolding Feature #606

sdelamo opened this issue Sep 13, 2023 · 0 comments

Comments

@sdelamo
Copy link
Contributor

sdelamo commented Sep 13, 2023

Issue description

I have been working on a spike to generate scaffolding views for HTML forms (an identical approach could be done to create scaffolding for REST endpoints).

This spike builds on the introspection builders added in Micronaut Framework 4.1. The API allows the generation of an HTML form representation for an introspected class, an instance, or an instance plus a ConstraintViolationException. This allows the generation of CRUD interface automatically for the users. You can have a Micronaut Data entity with a @JdbcRepository, and we automatically generate a CRUD interface for your entity with validation and routing. Moreover, the goal is for the API to be modular so that you can reuse or override the parts of the scaffolding you need to tweak.

I aim to have a PR for this feature ready for Micronaut Framework 4.2.

Such functionality would be specially interesting for people building Micronaut applications in combination with technologies such as Turbo or Htmx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant