Migrating a GraphQL Project from JavaScript to Java with DGS Framework #2114
Unanswered
brandondeemo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to migrate a javascript graphql project into Java with DGS framework. Here is a part of the typeDefs.js file:
You can see that the updateAppExpDeploymentPatchInput is a result of
extractTypeFieldsfunction in the same file.Now I want to convert the file into java with DGS.
Looks Java is statically typed, so it needs more explicit type definitions
How should I define the schema.graphql and import updateAppExpDeploymentPatchInput as a result of external function? Better to give some examples. Thanks
Beta Was this translation helpful? Give feedback.
All reactions