Skip to content

Dgraph GraphQL field validation via @custom() #5455

@geoyws

Description

@geoyws

Experience Report

Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not propose solutions.

What you wanted to do

Performantly be able to do field validation (min/max integers, regex checks) using Custom Logic or some other directive, without having to resort to HTTP calls. Original discussion here.

What you actually did

Why that wasn't great, with examples

Any external references to support your case

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/graphqlIssues related to GraphQL support on Dgraph.kind/featureSomething completely new we should consider.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions