Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema generated incorrectly when compiling Jar #22

Open
macjac415 opened this issue Jan 20, 2018 · 0 comments
Open

Schema generated incorrectly when compiling Jar #22

macjac415 opened this issue Jan 20, 2018 · 0 comments

Comments

@macjac415
Copy link

macjac415 commented Jan 20, 2018

I am have built a server using schemagen and I am running into a problem. When I run the code in place (i.e. using gradle bootRun or thorugh intelliJ), the schema is generated fine and hitting the relay endpoints work great. However, when I compile the jar and hit endpoints using java -jar, I get Written [ExecutionResultImpl{data=null, errors=[ValidationError{validationErrorType=FieldUndefined, message=Validation error of type FieldUndefined: Field 'node' in type 'List_HermesTenantDto' is undefined, locations=[SourceLocation{line=4, column=7}], description='Field 'node' in type 'List_HermesEdge' is undefined'}], dataPresent=false, extensions=null}] as "application/json" using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@38f645c8]

My data looks like RelayConnection<HermesTenantDto>

I am using relay, clearly. Do you have any insight into this?

P.S. THANK YOU! This project is great and has saved me so much time. I just hope I can get it working in time for my deadline.

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

No branches or pull requests

1 participant