Skip to content
Discussion options

You must be logged in to vote

The @connection directive is specific to the DGS framework and treats it specially by internally generating the SDL type MyCustomTypeConnection at runtime. This is not generated at build time. Also note that this will not generate corresponding POJOs (and hence will not be present in the build directory). The expectation is for the user to map it to the corresponding relay custom type. IntelliJ is unable to understand the runtime generated SDL type and that is why you see the error.
To fix this , we will need to add logic in the DGS IntelliJ Plugin to detect this and suppress it. We have an issue to track that : Netflix/dgs-intellij-plugin#30

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LajosPolya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants