Skip to content

Support for refreshing/refetching entity before Edit (Lazy Loading) #147

@ruizrube

Description

@ruizrube

Thank you for the excellent work on this library.

I am trying to optimize the performance of the findAll() method in CrudListener. My goal is to return lightweight objects (or entities with lazy-loaded relations) to populate the Grid.

The issue is that the Edit form needs the fully initialized entity (with deep relations) to work correctly. Currently, the form seems to rely on the object provided by findAll().

What is the best pattern to implement a "re-fetch" or "load details" operation only when the user triggers the edit action?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions