# preInstantiateDelegates

## Purpose

Update node attributes before node is built.

## Examples

    class SampleGriffonAddon {
        def preInstantiateDelegates = [
            {builder, attributes, value ->
                attributes.colour = attributes.remove('color')
            }
        ]
    }

## Description

PreInstantiate delegates are builder strategies that lets you inspect and modify node attributes before a node is built. They're the perfect spot for applying type conversions on attributes that are shared across nodes.