You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: