Skip to content

Middleware directive was removed for no reason. #2204

@NickBourque

Description

@NickBourque

it violates the boundary between HTTP and GraphQL request handling.

Originally posted by @spawnia in #1532 (comment)

That's such a non-answer. A GraphQL request is just an HTTP request at its core. You're accomplishing nothing by revoking control from the people implementing this in their own projects. And you're not violating any fundamental law of the protocol by leaving the middleware directive in. There's also no conflict between the guard and middleware directives so replacing one with the other makes very little sense.

Hiding behind the guise that this is some righteous purist fundamental rule that must be followed and locking further comments on a completely valid issue is whack.

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