Skip to content

Partials #40

Open
Open
@MickL

Description

@MickL

Clear and concise description of the problem

Lets say I have a model called "product". If I display a list of products, I dont want it to contain ALL fields that a product may have, I only want to show imageUrl, name and price. But if I click into the product detail I want to load more fields (but maybe still not all of them). How would such be done in Rstore? How would Rstore know what fields are missing, or would it require to setup a model productList and productDetail ? Reading the docs it seems like it is always an all or nothing.

Another example: An order has a many to one customer relationship. When viewing an order I dont want to get the full customer which may contain a lot of sensible data, instead I just want to get his id and his address. But with Rstore it seems like I can only get everything or nothing?

Suggested solution

If this is possible atm, it would be a documentation issue. Otherwise please consider as a feature request :)

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions