Is your feature request related to a problem? Please describe.
fx.Private doesn't work with fx.Supply. It just supplies value of option to DI container. It would be nice to be able to use fx.Private in fx.Supply function as it now works with fx.Provide function
Is this a breaking change?
No, it's not
Simple code to check that fx.Supply doesn't work with fx.Private
Used fx version: v1.21.1
Is your feature request related to a problem? Please describe. fx.Private doesn't work with fx.Supply. It just supplies value of option to DI container. It would be nice to be able to use fx.Private in fx.Supply function as it now works with fx.Provide function
Is this a breaking change? No, it's not
Simple code to check that fx.Supply doesn't work with fx.Private Used fx version: v1.21.1
output
cannot provide fx.privateOption from [0]: already provided by "reflect".makeFuncStub