Skip to content

Limit scope of encoded values in a custom model #2841

Closed

Description

@karussell

Currently in a custom model all encoded values are usable for every profile. This makes it nearly impossible to split a server with many profiles into two independent servers e.g. when hardware limits kick in (often RAM) and client code uses various "mixed" custom models. (Same problem for path details.)

Activity

  1. michaz commented on Jun 22, 2023

    @michaz
    Member

    As usual, I would say that enforcing these restrictions is perhaps not the first or most important step here.

    If a user finds an Encoded Value they shouldn't be using -- why not, let them do it for now.

    I think more important is to become clear ourselves about what Encoded Values the user should be allowed to use. Then report only those in /info. Then see what that means for the structure that /info needs to have (EVs probably profile-specific?). Then see what we can do with the remaining custom model. (If I can't look at other profiles' values, that prevents some of the things we ourselves are currently doing with custom models.)

  2. otbutz commented on Jun 22, 2023

    @otbutz
    Contributor

    "Hiding" some EVs that are considered more of an implementation detail might be useful.

  3. michaz commented on Jun 22, 2023

    @michaz
    Member

    Yes I don't deny that

  4. karussell commented on Sep 7, 2023

    @karussell
    MemberAuthor

    Closing. (hiding is possible now)

  5. added a commit that references this issue on Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions