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.
Expected Behavior
User can set JSON values with
dashmate config set. For example, allowIps:Current Behavior
Dashmate throws an error because it only recognizes strings at the moment:
Possible Solution
Possibly read the schema and do a proper type cast.