crossplane / crossplane-tools

Experimental code generators for Crossplane controllers.
https://crossplane.io
Apache License 2.0
34 stars 26 forks source link

Support reference extractor function calls containing arguments with dots #43

Closed ulucinar closed 2 years ago

ulucinar commented 2 years ago

Description of your changes

Fixes #42

I have:

How has this code been tested

Tested manually with the following extractor markers:

// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("a.b.c",true)
// +crossplane:generate:reference:extractor=ExtractParamPath("a.b.c",true)
// +crossplane:generate:reference:extractor=ExtractParamPath()