Skip to content

Scaffolding Feature #606

@sdelamo

Description

@sdelamo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions