-
-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
docsConcerns the documentationConcerns the documentation
Description
Is there documentation that outlines how to create a custom client directive. All I can find is the brief information such a directive here: https://lighthouse-php.com/4.8/digging-deeper/client-directives.html#client-directives - but cannot understand how to implement a custom one. The idea is to create a client side directive to transform an asset. E.g.
{
me {
name
avatar @transform(size: 200)
}
}I tried to create a directive called TransformDirective and resolve it, but get the error "Unknown directive \"transform\".",
Metadata
Metadata
Assignees
Labels
docsConcerns the documentationConcerns the documentation