Skip to content

Commit 4638e5d

Browse files
committed
added notes about type system directive order
1 parent d97a8b1 commit 4638e5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/advanced/directives.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ type Person @monitor {
390390

391391
> The `ToItems` filter can be invoked multiple times. A schema item must match all filter criteria in order for the directive to be applied.
392392

393+
> Type system directives are applied in the order of declaration with the `[ApplyDirective]` attributes taking precedence over the `.ApplyDirective()` method.
394+
393395
**Adding arguments via .ApplyDirective()**
394396

395397
Adding Arguments via schema options is a lot more flexible than via the apply directive attribute. Use the `.WithArguments` method to supply either a static set of arguments for all matched schema items

0 commit comments

Comments
 (0)