Skip to content

std.objectRemoveKey prevents keys from being re-added #658

@stephenamar-db

Description

@stephenamar-db

For instance

local a = {
  foo: "bar"
};
local b = std.objectRemoveKey(a, "foo");
b + { foo: "bar2" }

should output

{ "foo": "bar2" }

Right now, it's outputs an empty object.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions