Skip to content

Convert config to object without needing a key #8

@williamho

Description

@williamho

Currently it's not possible to do:

config.as[MyClass]

As a workaround, a dummy key has to be used:

val dummyKey = "dummy-key"
config.atKey(dummyKey).as[MyClass](dummyKey)

ceedubs#10 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions