Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Suggestion: stop dealing with the model #44

@chrisfls

Description

@chrisfls

I disagree with how this library deals with the user's model:

My suggestion is to change them to plain items : List item and selection : Selection item.

I can't see any advantages in keeping those *FromModel functions, and they also add a cumbersome model type var everywhere.

... Of course, we could just use always to skip the model requirement, and this is what I've done when integrating this library with paack-ui. But the current API doesn't seem either ideal or standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions