Skip to content

Spring profiles not honoured when registering commands #1328

@fmbenhassine

Description

@fmbenhassine

In the hello world sample, if I add @Profile("greetings") to the hello command and start the app without activating the greetings profile, then the command is still registered, while it shouldn't.

This is similar to #1325 (quite the "opposite" of it) but at the command level, not the command's enclosing class level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions