Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1323

Support caseless mapped service configurations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.3
    • tapestry-ioc
    • None

    Description

      Many service configurations map a string to a some object. With the recent push towards caselessness, the raw Map<String,Object> is often converted to a CaseInsensitiveMap.

      This has two problems:
      1) There may be collisions in the raw map that are not noticed (i.e., "mybean" vs. "MyBean").
      2) There's the extra code required to create and CIM and load it from the configuration Map.

      tapestry-ioc should recognize builder method parameters of type CaseInsensitiveMap and treat them accordingly. Contribution methods should still see a MappedConfiguration parameter.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: