graphpql / graphpinator

:zap::globe_with_meridians::zap: Easy-to-use & Fast GraphQL server implementation for modern PHP. Includes features from latest draft, middleware directives and modules with extra functionality.

Home Page:https://github.com/graphpql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduce Definition::getShapingType()

peldax opened this issue · comments

Common pattern is looking up a type which is a not-null type. Currently it is done manually ising branching, but this should be replaced to simplify the code.

Known usages

  • WhereDirective validate type
  • maybe more