// ResolveFrom Expands all properties of this set using properties from another
ResolveFrom Expands all properties of this set using properties from another
// ResolveFrom Expands all properties of this set using properties from another
func (p *Properties) ResolveFrom(context *Properties) error {
	if context != nil {
		composite := errors.NewCompositeError()
		for k, v := range p.m {
			v, err := context.Expand(v)
			composite.Append(err)
			p.m[k] = v
		}
		return composite.OrNilIfEmpty()
	}
	return nil
}
func ( p * Properties ) ResolveFrom ( context * Properties ) error { if context != nil { composite := errors . NewCompositeError ( ) for k , v := range p . m { v , err := context . Expand ( v ) composite . Append ( err ) p . m [ k ] = v } return composite . OrNilIfEmpty ( ) } return nil }
ResolveFrom Expands all properties of this set using properties from another
ResolveFrom Expands all properties of this set using properties from another