Skip to content

Add validation hook for HTTP handler #27

@zombiezen

Description

@zombiezen

To permit some custom forms of securing a GraphQL endpoint (especially keeping an allow list of queries) and caching of validation results, I'd like to give the application the ability to override the validation process. This would take the form of a function like func(context.Context, string) (*graphql.ValidatedQuery, error).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions