Skip to content

bug(dashmate): user unable to set JSON config values #928

Closed

Description

@pshenmic

Expected Behavior

User can set JSON values with dashmate config set. For example, allowIps:

dashmate config set core.rpc.allowIps '[ "127.0.0.1", "172.16.0.0/12", "192.168.0.0/16", "110.144.131.159" ]'

Current Behavior

Dashmate throws an error because it only recognizes strings at the moment:

InvalidOptionPathError: config/core/rpc/allowIps must be array

Possible Solution

Possibly read the schema and do a proper type cast.

Activity

  1. added
    bug
    on Apr 18, 2023
  2. pshenmic commented on Apr 19, 2023

    @pshenmic
    ContributorAuthor
  3. pshenmic commented on Jun 15, 2023

    @pshenmic
    ContributorAuthor

    Merged

  4. added a commit that references this issue on Aug 25, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions