Skip to content

Allow Inheritance of Multiple Classes and Interfaces for Query and Mutation Classes#319

Open
richharms wants to merge 1 commit into
Enigmatis:masterfrom
echothreellc:2-allow-extension-of-multiple-interfaces-for-queries-and-mutations
Open

Allow Inheritance of Multiple Classes and Interfaces for Query and Mutation Classes#319
richharms wants to merge 1 commit into
Enigmatis:masterfrom
echothreellc:2-allow-extension-of-multiple-interfaces-for-queries-and-mutations

Conversation

@richharms
Copy link
Copy Markdown
Contributor

Summary

Modifies functionality of two methods in AnnotationsSchemaCreator: queries and mutations, and allows the classes and interfaces that are passed in to have any super classes and extended interfaces to be examined for additional fields that should be added to the schema. This matches behavior of GraphQL objects.

This allows for better organization of source code (in my case, the interfaces containing queries and mutations have grown to be extremely unwieldy and need to be broken up by the major components in the application. This provides for that.

Type

  • Bug fix
  • Feature
  • Docs
  • Build/CI

Checklist

  • Includes tests (or reason why not applicable)
  • Updates documentation if needed
  • Linked to issue: Fixes #____

Notes for reviewers

Should be entirely backwards compatible, it was a drop-in replacement in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant