WunderGraph Directives Reference

@fromClaim directive

Inject Claims into Variables

@jsonSchema directive

Apply JSON Schema validation

@hooksVariable directive

Define variables for Hooks

@rbac directive

Configure RBAC

@injectGeneratedUUID directive

Inject generated UUIDs

@injectCurrentDateTime directive

Inject Date / Time into variables

@injectEnvironmentVariable directive

Inject Environment Variables

@internalOperation directive

Hide Operations from the public API

@export directive

Export a field value into Variables

@internal directive

Hide a variable from the external API

@transform directive

Lodash style response transformations

@removeNullVariables directive

Removes null variables query

@requireAuthentication directive

Configure an operation to require authentication

Previous
Overview

Was this article helpful to you?
Provide feedback

Edit this page