(dirs ast.DirectiveList)
| 341 | } |
| 342 | |
| 343 | func (s *gqlScaffolder) skipped(dirs ast.DirectiveList) bool { |
| 344 | return skippedBy(dirs, s.vars) |
| 345 | } |
| 346 | |
| 347 | // skippedBy evaluates @skip and @include with the variables gh sent. |
| 348 | func skippedBy(dirs ast.DirectiveList, vars map[string]any) bool { |
no test coverage detected