Skip to content

Optional dependencies #142

Description

@dbronecki

Would it be possible to add feature which would allow to resolve optional dependencies?

Pseudo-implementation (which doesn't work):

  def wireOpt[T](enabled: Boolean): Option[T] = {
    if (enabled) {
      Some(wire[T])
    } else {
      None
    }
  }

Thanks for awesome library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions