You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graphql_name "directive_name"# string, not symbol!
43
42
description "A nice runtime customization"
44
43
end
45
44
```
@@ -67,6 +66,16 @@ query {
67
66
68
67
{{ "GraphQL::Schema::Directive::Feature" | api_doc }} and {{ "GraphQL::Schema::Directive::Transform" | api_doc }} are included in the library as examples.
69
68
69
+
### Custom Name
70
+
71
+
By default, the directive's name is taken from the class name. You can override this with `graphql_name`, for example:
0 commit comments