Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-437

The OrderedConfiguration and MappedConfiguration interfaces should allow for override() methods (similar to add())

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, every time a service wants an overridable configuration, it is necessary to define two services and merge the configurations between the two, which is cumbersome.

      It is quite common to want to override a single entry in a configuration.

      Overrides should be collected in parallel with adds, and applied at the end. Each override should match a specific contribution (by name for OrderedConfigration, but key for MappedConfiguration). Overlapping overrides are an error.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: