I see that directives can be passed into buildGraphQLSchema() but I haven't yet figured out how to use a directive on anything. e.g. I'd like to use @oneof on an Object Input Type or @key on an Object Type (for @apollo/subgraph).
Can some directive examples be added to the examples folder and/or to the README/docs?
I see that
directives
can be passed intobuildGraphQLSchema()
but I haven't yet figured out how to use a directive on anything. e.g. I'd like to use@oneof
on an Object Input Type or@key
on an Object Type (for@apollo/subgraph
).Can some directive examples be added to the
examples
folder and/or to the README/docs?