Skip to content

Cypress: set on a whole node, multiset_attributes, create_object #21

Description

@sshaplygin

Part of #6.

Three Cypress verbs the official clients have and this one does not.

set on a whole node. Client::set_attribute writes //path/@name and nothing writes //path itself, so a document node cannot be created or replaced. C++ and Go both have a general SetNode.

multiset_attributes. Setting five attributes is five round trips here. One command in both official clients.

create_object. Creates things that are not Cypress nodes — accounts, users, groups, medium definitions. Arguably administration and therefore out of the client's charter, so this one needs a decision before it needs code.

  • set(path, value) for a whole node
  • multiset_attributes(path, pairs)
  • decide whether create_object belongs here at all

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityClosing a gap against the official C++/Go clientspriority: laterKnown gap, no deployment is blocked on it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions