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

feat: More checks for return types from GraphQL operations #1275

Merged

Conversation

jmartisk
Copy link
Contributor

@jmartisk jmartisk commented Nov 28, 2023

a
b

@jmartisk jmartisk changed the title More checks for return types from GraphQL operations feat: More checks for return types from GraphQL operations Nov 28, 2023
@angelozerr
Copy link
Contributor

@jmartisk many thanks for your contribution!

Could youp please add a screenshot in your PR which shows in action your contribution. Thanks!

@angelozerr angelozerr added this to the 1.31.0 milestone Nov 28, 2023
@angelozerr angelozerr added enhancement New feature or request quarkus Quarkus support labels Nov 28, 2023
@jmartisk
Copy link
Contributor Author

@angelozerr done, added two screenshots in the description

Copy link
Contributor

@fbricon fbricon left a 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

@@ -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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SMALLRYE_SUBSCRIPTION_ANNOTATION

Copy link
Contributor Author

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

@jmartisk jmartisk force-pushed the graphql-operation-return-types branch from 046fcb2 to aaae4ee Compare November 28, 2023 13:45
Copy link

sonarcloud bot commented Nov 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fbricon fbricon modified the milestones: 1.31.0, 1.31.1 Jan 8, 2024
@jmartisk
Copy link
Contributor Author

jmartisk commented May 9, 2024

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

@fbricon fbricon merged commit 728ae68 into redhat-developer:main May 14, 2024
9 checks passed
@fbricon
Copy link
Contributor

fbricon commented May 14, 2024

Thanks @jmartisk, sorry for the delay in handling this one.

@jmartisk jmartisk deleted the graphql-operation-return-types branch May 20, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request quarkus Quarkus support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants