Skip to content

In command's Validate I cannot access top-level configuration/flags #340

@mitar

Description

@mitar

I have a bit of a chicken and egg problem. In top-level Validate I cannot know which command user has selected. And if I put Validate on the command struct, then I cannot access top-level configuration/flags. Maybe Validate should get kong.Context as a parameter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions