Skip to content

Conversation

@jplock
Copy link
Contributor

@jplock jplock commented Jan 9, 2017

Fixes #12

@jplock
Copy link
Contributor Author

jplock commented Jan 10, 2017

doh! looks like there are tests to fix or something.

@jplock
Copy link
Contributor Author

jplock commented Jan 24, 2017

I don't know how to fix these errors:

Gradle suite > Gradle test > graphql.servlet.GraphQLVariablesTest.nonNullvariableTyping FAILED java.lang.ClassCastException at GraphQLVariablesTest.java:89 Gradle suite > Gradle test > graphql.servlet.GraphQLVariablesTest.variableTyping FAILED java.lang.ClassCastException at GraphQLVariablesTest.java:69 

@yrashk any ideas?

@dminkovsky
Copy link

dminkovsky commented Feb 3, 2017

Hey, I reached out to the other maintainers.

In the meantime, when you say you don't know how to fix these errors, what do you mean? I'm not familiar with the project (not using the servlet API for GraphQL at this time), so I'm not sure exactly what the tests are doing. Looking at the code it looks like both failures occur at servlet.bindQueryProvider(queryProvider);. Any ideas what that line does?

@yrashk
Copy link
Contributor

yrashk commented Feb 3, 2017 via email

@dminkovsky
Copy link

dminkovsky commented Feb 3, 2017 via email

@jplock
Copy link
Contributor Author

jplock commented Feb 3, 2017

Sorry @dminkovsky I should have been more clear. The test suite for this project doesn't do a whole lot and it looks like the test failures are coming somewhere within graphql-java itself (those java.lang.ClassCastException exceptions). That's why I'm not sure how best to fix it.

I appreciate everyone's help with this.

@apottere
Copy link
Contributor

@yrashk Any chance you could come back to the project soon? I'm happy to help maintain it if you can't.

Otherwise I might end up maintaining a fork - I love what you've done here, but a few people (myself included) need it to move forward.

@yrashk
Copy link
Contributor

yrashk commented Mar 14, 2017

@apottere, I am happy to delegate maintenance — I completely lack time to maintain this library right now.

@apottere
Copy link
Contributor

@yrashk awesome, let me know how you want to proceed.

@yrashk
Copy link
Contributor

yrashk commented Mar 14, 2017

@apottere I sent a request to @andimarek to add you as a project maintainer/admin. I will also need you to sign up for Maven Central releases functionality at https://issues.sonatype.org

@apottere
Copy link
Contributor

I'm ddcapotter on https://issues.sonatype.org

@apottere
Copy link
Contributor

@jplock The test errors were because the object in the tests used the same java class for input and output, causing graphql-java-annotations to create two different types (input and object) with the same name. When the schema tried to look up the type from the dictionary, it got the wrong one and couldn't cast it to the correct type.

@jplock jplock deleted the patch-1 branch March 15, 2017 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants