Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17497

Support inheritance of polymorphic configurations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 3.0.0-beta2
    • None

    Description

      Currently, polymorphic configuration schemas must have exactly one parent class (not Object).

      It is suggested to implement the following logic:

      1. Top config schema must be annotated with PolymorphicConfig (it already works as described here, so nothing needs to be done)
      2. Leaf config schema must be annotated with PolymorphicConfigInstance (it already works as described here, so nothing needs to be done)
      3. Intermediary config schema classes (extending, directly or indirectly, the top config schema and extended, directly or indirectly by leaf config schemas) are allowed. They do not need to be annotated.

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m