Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-230

PR (606): Feature/facter 2/fact 65 add default aggregate, freeze chunks - adrienthebo

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Community
    • Labels:
    • Template:

      Description

      Feature/facter 2/fact 65 add default aggregate, freeze chunks

      Pull Request Description


      This pull request refines the behavior of aggregate resolutions in two ways.

      The first change is that chunk values will be frozen after they are evaluated. This means that when one chunk inspects another chunk, it cannot accidentally modify the already evaluated data.

      The second change adds a default aggregate action for aggregate resolutions. The default aggregate action assumes that all resolved chunks will be data structures that can be deeply merged, so that people don't need to redefine this behavior every time.

      This pull request is based on GH-605 and should be merged after that.


      (webhooks-id: 48f73bf130dc99ed7372c69b0302e8a0)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gepetto-bot gepetto-bot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support