John
07/09/2026, 8:42 PMValueSources that do expensive things (like execute git, etc), and I want to share these across multiple plugins so that I don't have to duplicate code, as well as create multiple providers for the same thing, I had an idea to put them in a BuildService. however, it seems like if I create the providers in order to pass them to the service via params, then they get run, even if the build service method that returns that provider never is called. I had an idea to create the providers only when they are accessed via build service, but to do that, id need a reference to ProviderFactory as a param, but I don't think that is serializable (for CC). is there an established pattern here?John
07/09/2026, 9:02 PMJohn
07/09/2026, 9:19 PMPhilip W
07/09/2026, 10:22 PMPhilip W
07/09/2026, 10:38 PM