Skip to content

@command and @query annotations should be provided by tapiro #220

Open
@giuscri

Description

@giuscri

Asking users to implement them via

import scala.annotations.StaticAnnotation
class query extends StaticAnnotation

means they have to define them in random files of their package. They can't put the definitions at the top of each trait Controller because they'll clash as soon as the package has >= 2 controllers.

Why not defining them in a library such that users can import them as many times they need?

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