Skip to content
Advertisement

Tag: graphql-spqr

Get Original Field Name on GraphQL

I’m using https://github.com/leangen/graphql-spqr with spring-boot java application. I can reach to alias name easily but how can I reach to original fieldName? When I run this code, Output looks like with alias fields: “aliasNameX”, …, but I need original name like “originalName”. Is there a way to do it? Solved, according to: https://github.com/leangen/graphql-spqr/issues/381 Answer Posting my original answer here as

TypeMappingException: Multiple methods detected for operation “opName” with different return types

Working with graphql-spqr and Spring Boot, I’m trying to run the project but I run into this: and I got redirected to this for help : https://github.com/leangen/graphql-spqr/wiki/Errors#operation-with-multiple-resolver-methods-of-different-types I was not having multiple methods with the same name which triggers me, the URL in the exception is not helpful and can’t even be edited or commented. Answer Removing the protobuf Timestamp

Advertisement