Skip to content

mattesja/vanilla-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • HelloWorldPlain uses plain graphql-java
  • HelloWorldAnnotation uses plain graphql-java-annotation

Both are using the same dummy beans and the same query. Unfortunately graphql-java-annotation fails due to complex issues regarding the interface handling.

I discovered these issues:

  • query with fragments fails ({items { ... on MyObject {a, my {b}} ... on MyObject2 {a, b} }}) Error: PossibleFragmentSpreads.doTypesOverlap() returns false, because fragType + parentType reference to different interface instances.
  • List must not use Wildcard return types e.g. List<? extends MyInterface>
  • GraphQLAnnotations.getObjectBuilder() uses object.getInterfaces() which only returns direct interfaces of that class. Here ClassUtils.getAllInterfaces etc. should be used http://stackoverflow.com/questions/6616055/get-all-derived-interfaces-of-a-class

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 42.5%
  • Java 42.4%
  • Dockerfile 11.0%
  • HTML 2.3%
  • CSS 1.8%