Skip to content

BUG: CLI surprise behavior #3011

@JerryNixon

Description

@JerryNixon

What?

"fields": [
    {
      "name": "Id",
      "description": "Primary key",
      "primary-key": true
    }

Run this:

dab update Entity --fields.name "Id" --fields.description "Unique Key"

Results in this:

"fields": [
    {
      "name": "Id",
      "description": "Unique key",
      "primary-key": false // problem
    }

Even when the flag is not used in the command, the default value is used to overwrite the config.

Metadata

Metadata

Assignees

Type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions