google / google/guice

Serializable OverrideModules?

Open
#1,291 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

We have a workflow where we use Serializable Modules to inject transforms into our Spark jobs. Some of these transforms have dependencies that we want to inject as serializable mocks. It would be great to be able to use Modules.override the dependencies, but because this output is not Serializable even when all the base modules and override modules are serializable, we have to hack around it.

Would it be possible to add a Modules.override implementation that supports serializable modules?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.