-
Notifications
You must be signed in to change notification settings - Fork 7
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
Wildfly client model integration and quickstart (client) #178
Wildfly client model integration and quickstart (client) #178
Conversation
9bafca5
to
51442b1
Compare
...m/src/main/java/org/wildfly/extension/microprofile/graphql/client/ClientModelsExtension.java
Show resolved
Hide resolved
...nt/src/main/java/org/wildfly/extras/quickstart/microprofile/graphql/client/FilmResource.java
Outdated
Show resolved
Hide resolved
2e3d2c9
to
1f98778
Compare
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); | ||
final CompositeIndex compositeIndex = deploymentUnit.getAttachment(Attachments.COMPOSITE_ANNOTATION_INDEX); | ||
if(!compositeIndex.getAnnotations(GRAPHQL_CLIENT_API).isEmpty()) { | ||
MicroProfileGraphQLClientLogger.LOGGER.multipleGraphQLApiAnnotations(); |
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.
I don't get this, this says that we found "multiple" annotations, but will appear even if there's just one, no? What's the point of this logging message?
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.
Ok, I had on my mind "multiple" as in one or more annotations.
d60bbf8
to
b5f9073
Compare
pom.xml
Outdated
@@ -51,7 +51,7 @@ | |||
the built feature pack. --> | |||
<version.io.smallrye.graphql>2.9.1</version.io.smallrye.graphql> | |||
<version.org.eclipse.microprofile.graphql>2.0</version.org.eclipse.microprofile.graphql> | |||
<version.com.graphql-java>22.1</version.com.graphql-java> | |||
<version.com.graphql-java>22.2</version.com.graphql-java> |
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 remove this for now please, we'll do this along with upgrading to sr-gql 2.10.0 next week. Otherwise, all looks good to me!
b5f9073
to
d937361
Compare
/cc @jmartisk