You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Quarkus and have written a plugin for authentication. Everything works, but in the resources of my module, I want to generate an interface that contains static constants for authentication, UUIDs for roles, and permissions. I tried to understand @buildstep, but it didn't yield any results; for some reason, even a simple class wasn't generated when using Gizmo.
I also know that there is CodeGenProvider, but I'm not clear on how to use it. Can I ask the community for an example of how this can be implemented? I based my approach on the gRPC extension, which can generate classes, and they are displayed in IDEA.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Quarkus and have written a plugin for authentication. Everything works, but in the resources of my module, I want to generate an interface that contains static constants for authentication, UUIDs for roles, and permissions. I tried to understand @buildstep, but it didn't yield any results; for some reason, even a simple class wasn't generated when using Gizmo.
I also know that there is CodeGenProvider, but I'm not clear on how to use it. Can I ask the community for an example of how this can be implemented? I based my approach on the gRPC extension, which can generate classes, and they are displayed in IDEA.
Beta Was this translation helpful? Give feedback.
All reactions