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
Tag: graphql-spqr-spring-boot-starter
graphql-spqr with Spring Boot and Transactional Boundary
We are using graphql-spqr and graphql-spqr-spring-boot-starter for a new project (With Spring DataJPA, hibernate and so on). We have a mutation like this: This mutation works fine: I have ommitted the variables as they are not important. It does not work if I change it to: I get a LazyInitalizationException and I know why: The homeTeam is referenced by an