I don’t know the answer in general for dry-system
, but in this specific case you can just avoid the issue by just giving a string to the type
method. GraphQL-ruby will resolve the class name later on, when all classes are loaded. So change your line to:
type 'Types::User', null: true