-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: More checks for return types from GraphQL operations #1275
feat: More checks for return types from GraphQL operations #1275
Conversation
jmartisk
commented
Nov 28, 2023
•
edited
Loading
edited
@jmartisk many thanks for your contribution! Could youp please add a screenshot in your PR which shows in action your contribution. Thanks! |
@angelozerr done, added two screenshots in the description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep supporting the existing org.eclipse.microprofile.graphql.Subscription
...om/redhat/devtools/intellij/lsp4mp4ij/psi/internal/graphql/MicroProfileGraphQLConstants.java
Show resolved
Hide resolved
@@ -23,10 +23,12 @@ private MicroProfileGraphQLConstants() { | |||
|
|||
public static final String QUERY_ANNOTATION = "org.eclipse.microprofile.graphql.Query"; | |||
public static final String MUTATION_ANNOTATION = "org.eclipse.microprofile.graphql.Mutation"; | |||
public static final String SUBSCRIPTION_ANNOTATION = "org.eclipse.microprofile.graphql.Subscription"; | |||
public static final String SUBSCRIPTION_ANNOTATION = "io.smallrye.graphql.api.Subscription"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SMALLRYE_SUBSCRIPTION_ANNOTATION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it as SUBSCRIPTION_ANNOTATION
for now as there is no microprofile annotation for it
046fcb2
to
aaae4ee
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hi @fbricon I noticed this has been waiting for a long time, could you give it another look, and let me know if anything else is needed before merging? Thanks |
Thanks @jmartisk, sorry for the delay in handling this one. |