Skip to content

Better support for optional dependencies #308

Open
@swankjesse

Description

@swankjesse

Right now it’s awkward to install a dependency using runtime information:

  // TODO(jwilson): we should design a better mechanism to select dependencies.
  val tracingModule = if (serviceConfig.zipkin_tracing != null) {
    ZipkinTracingModule(serviceConfig.zipkin_tracing)
  } else {
    NoopTracingModule()
  }

We should design something better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions