graphpql/graphpinator

Typesystem directives - check for duplicates

peldax opened this issue · 0 comments

Check for duplicates in addDIrective function, currently this relies on schema designer but is not explicitly checked.
Executable directives are checked during normalisation (semantic analysis).

  • directive must be marked as repeatable in order to allow duplicates
  • wrap the checking algorithm in $validateSchema cond