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

Enum support for PHP 8.1

peldax opened this issue · comments

  • Create enumItemSet from native enum (as alternative to fromConstants) - this enum must be string backed
  • Support comments using docblocks as previously
  • Ability to serialize/unserialize string value into given enum

I already implemented first two tasks, but it needs some extra work.

  • Replace general InvalidArgumentException with specific one.