Skip to content

Support optional ingredients via Kotlins nullable types #1514

@basdgrt

Description

@basdgrt

For the Java DSL you can define ingredients as an optional. So Optional<String> myIngredient

For the Kotlin DSL this also works. However, it would be nice if we could use nullable types instead. I tried using myIngredient: String? but that doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions