Skip to content

Suggestion: Make an objective target always an array #76

@kokarn

Description

@kokarn

It kinda doesn't make sense to have it as a string sometimes and as an array sometimes

Current examples

[{
    "type": "collect",
    "target": "54491c4f4bdc2db1078b4568",
    "number": 2,
    "location": "Any",
    "id": 1
},
            
{
"type": "key",
    "target": [
        "5a13ef0686f7746e5a411744",
        "5a0ee34586f774023b6ee092"
    ],
    "number": 1,
    "location": "Shoreline",
    "id": 142
}]

Suggested change

[{
    "type": "collect",
    "target": [
        "54491c4f4bdc2db1078b4568"
    ],
    "number": 2,
    "location": "Any",
    "id": 1
},
            
{
"type": "key",
    "target": [
        "5a13ef0686f7746e5a411744",
        "5a0ee34586f774023b6ee092"
    ],
    "number": 1,
    "location": "Shoreline",
    "id": 142
}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestschema changeAdding or changing the schema for keeping EFT information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions