-
Notifications
You must be signed in to change notification settings - Fork 93
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 Stereotypes and Mixins (and more) #316
Comments
This fixes eclipse/microprofile-graphql#111 |
I like it. I spoke to @radcortez to see if we should move power-annotations to SmallRye. @radcortez see examples mentioned above |
@t1 - we can move power annotation to smallrye commons. Let's chat on gitter to discuss |
Another option would be to merge it directly into Jandex. In that way, all implementations using Jandex would benefit without needing to change their code. |
…h power-jandex-maven-plugin Signed-off-by: Rüdiger zu Dohna <[email protected]>
Now it already works without any change to the Smallrye GraphQL server code base! I have tested it with a class that uses a Stereotype for the |
We may want to update all MP GQL annotations to allow them to be used in Stereotypes by adding |
Will you log an issue in mp ? |
#316: add power annotations with power-jandex-maven-plugin
sure :-) |
I've already extracted the actual resolution code to a |
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
#569 still keeps the implementation separate, i.e. you'll have to use the Next, I'll integrate it into the servlet and the schema maven/gradle plugins, so the behavior is available everywhere. |
Hello, would you consider making a plugin for gradle as well ? |
@Pilpin : power-annotations is currently dormant. I currently just can't find the energy to push it forward, as it would make most sense, if it was adopted by, e.g., Jakarta. So I archived it. Feel free to pick it up and use it as you may find suitable. |
Sorry to here that, is there a discussion somewhere to have the project adopted ? Thank you for your great work and your quick response. |
I added power-annotations to the typesafe client as a PoC.
There are two tests that show using a Stereotype and a Mixin.
Maybe you can take a look?
It's in a branch in my fork. I didn't want to create a PR to master, yet, as I think we should work on a branch first; and it seems like I can't create a PR for a new branch in the GitHub UI.
The text was updated successfully, but these errors were encountered: