Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-91

Split up CopyCommand

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • None

    Description

      CopyCommand currently does three things:

      • Given a value and a key it overrides an existing key for that value. If no key is given, it associates the value with null
      • Given a key, but no value, it removes the key and it's value from the context
      • Given a fromKey and a toKey, it copies the value from fromKey to toKey

      This should be split up into three distinct commands: OverrideCommand, RemoveCommand and CopyCommand

      Attachments

        Activity

          People

            britter Benedikt Ritter
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: