Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate configuration options for target features #126

Open
stepango opened this issue May 22, 2023 · 0 comments
Open

Investigate configuration options for target features #126

stepango opened this issue May 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@stepango
Copy link
Collaborator

An example would be switching between AP and reflection DI for dagger in dev/prod builds using https://github.com/JakeWharton/dagger-reflect

This may require introducing concept of conditional dependencies which may be a bit tricky to achieve in a type safe way(e.g. introducing smth like synthetic accessors for the flags)

This may be achieved via configuration targets which may as well implement a way of introducing build configuration flags along with application runtime flags.

Another option is configuration via binary targets, however this would be tricky because actual configuration of binary targets would be happening long after we'll need to utilize the flags.

Depending on the outcome of Investigation we may want to introduce smth like binary-configuration concept where we have core configuration linked 1:1 with binaries

@stepango stepango added the enhancement New feature or request label May 22, 2023
@stepango stepango self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant