Skip to content

Wrong directive order firing after PR #1666 #1709

@webard

Description

@webard

What about:

extend type Query @guard {
    getProduct(id: ID! @eq): Product
        @find
        @can(ability:"get product")
}

?

First should be fired @guard to check if user is authenticated, but after this change first fired directive is @can

Originally posted by @webard in #1666 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error within LighthousequestionRequest for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions