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

Enable use of identity transform in model transformations and model relay

    XMLWordPrintable

    Details

      Description

      Two issues:
      i) Although the model transformation system supports the use of "any function" as a transform rule, it appears that there is a bug in model relay which bombs when finding a rule with nonexistent defaults.
      Although we can use fluid.transform.free this is cumbersome for simple cases - we should fix up the relay pathway.
      ii) Separately, we should have a dedicated "identity" transform supported by the framework, which, naturally, inverts to itself. This is useful to help with consistency in configuration - although naturally this effect can be had by establishing a "direct relay" between the "model" areas of two components, it can be useful in some situations where the space of configuration is "open" wrt to integrators for them to be able to express everything they need within the "modelRelay" block.

      This need arose during discussion with cindyli about work on the metadata component in IRC on 2/5/14

      https://botbot.me/freenode/fluid-work/msg/14143822/

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: