Skip to content

All object types must define at least one field. #133

@MilanLochovsky

Description

@MilanLochovsky

Hello,

if I update the library to a new version, the project gives me a GraphTypeDeclarationException: The object graph type 'Magazine' defines 0 fields. All object types must define at least one field.

I use empty classes or classes to which I send an identifier field labeled with [GraphSkip] above which I create a TypeExtension or BatchTypeExtension and therefore contain a field(s) in result.

Would it be possible to add an option not to do this check or check if also not defined any Extension field?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions