-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add metadata for graphql-java-extended-validation #152
Conversation
This PR is currently in draft, as I'm hitting a strange issue. Manually adding the metadata to the test application solves the problem. I've also checked the metadata against a real application successfully. |
As discussed with the team, here's the output of the following command:
It looks like the |
81502fb
to
0b2dab5
Compare
graalvmNative { | ||
binaries { | ||
test { | ||
buildArgs.add('--no-fallback') | ||
buildArgs.add('-H:IncludeLocales=fr') | ||
} | ||
} | ||
} |
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.
- You can change to the following block of code to verify ?
graalvmNative {
binaries {
test {
// We have to manually add the metadata because the org.graalvm.internal.tck gradle plugin does not automatically import
configurationFileDirectories.from(tck.metadataRoot.dir('com.graphql-java/graphql-java/19.2'))
configurationFileDirectories.from(tck.metadataRoot.dir('org.hibernate.validator/hibernate-validator/7.0.4.Final'))
}
}
}
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.
No need to, I've manually copied those folders in the test and it worked. I guess this approach is more elegant but doesn't solve the TCK problem.
0b2dab5
to
3679bbe
Compare
I've applied a workaround for the TCK issue and created #211 to unlock this PR. |
a3b6f2c
to
bddee8e
Compare
I've just removed the workaround since the issue will be fixed when #214 is merged. |
bddee8e
to
407eb4c
Compare
@dnestoro yes it's ready for review. I've removed the workaround on purpose. |
407eb4c
to
b57c16a
Compare
@dnestoro please merge! |
b57c16a
to
53b2a65
Compare
What does this PR do?
This PR builds on the existing graphql-java metadata and adds the relevant content for the graphql-java-extended-validation artifact.
Checklist before merging
document)