I have an optional struct that I want to inject into another struct. So I define the reference as a pointer. ResolveAll() doesn't support this valid struct value and blows up trying to dereference it.
panic: no defined pointer is assignable to the provider argument 2 of type (*mypackage.MyStruct)
I have an optional struct that I want to inject into another struct. So I define the reference as a pointer. ResolveAll() doesn't support this valid struct value and blows up trying to dereference it.
panic: no defined pointer is assignable to the provider argument 2 of type (*mypackage.MyStruct)