Skip to content

Commit e988eed

Browse files
committed
clarify how directives are supported
1 parent 6733b3d commit e988eed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

v2/pkg/engine/plan/cost.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ It builds on top of IBM spec for @cost and @listSize directive with a few change
1818
* When weight is specified for the type and a field returns the list of that type,
1919
this weight (along with children's costs) is multiplied too.
2020
21-
Weights on arguments of directives are supported, but should be used only if specifying the
22-
weight on the fields is not possible for some reason.
21+
Weights on arguments of directives are supported. If an argument is of InputObject's type,
22+
then the weight from its fields is not counted.
2323
2424
*/
2525

0 commit comments

Comments
 (0)