Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-3675

Create options merging and "component grading" infrastructure that will allow passage of destructible items

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2, 1.2.1, 1.3
    • 1.4
    • Framework
    • None

    Description

      It is increasingly required for a few "non-model-contract" items to be able to pass into components and survive the options merging process without being cloned. Ironically, one of these types of items are in fact models - whilst a model as a whole satisfies the "model contract", it is important for overall application model consistency for the SAME MODEL REFERENCE to survive being passed into a component unscathed. Reference consistency also requires implementation of a "cautious ChangeApplier" (see FLUID-3674). This should be implemented by
      i) Allowing a new strategy to be configured into options merging, tentatively named "preserve" which will specify that certain "protected paths" in the model hold object references which must not be cloned, but copied across wholesale
      ii) Creating infrastructure for "grades" or "categories" of component (model-bearing, view-bearing, renderer-bearing, or any valid combination of these) that spares users from the work of having to manually specify these in their own default options.

      Attachments

        Issue Links

          Activity

            People

              colin Colin Clark
              antranig Antranig Basman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: