Skip to content

Accept @Nullable as annotation in query parameters #57

@fabiodimauro

Description

@fabiodimauro

Describe the feature
Add the annotation @nullable before the @query annotation in order to make it possible to pass a null value as query parameter.

Additional context
Instead of using an Optional as parameter which is not suggested and doesn't follow the best use practices by Java & IntelliJ, add the ability to use @nullable instead.

So instead of having to have the Optional (or manually do it by using ctx.queryParam() which kinda removes the library main features)
Image

Instead I suggest the following implementation
Image

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