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
The problem is that Wolverine does not discover the nested Endpoint class when mapping endpoints and a 404 is returned. Making the AddSomething class static makes no difference.
Is there some attribute or marker interface that can be used to aid Wolverine in finding a nested endpoint class? I tried applying the WolverineHandler attribute on the nested Endpoint class and even on its methods with no luck...
Some other way to achieve this? Manual mapping? Changing discovery?
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I'm trying out a model where all endpoint related types live inside an outer class like in the following toy example:
The problem is that Wolverine does not discover the nested Endpoint class when mapping endpoints and a 404 is returned. Making the AddSomething class static makes no difference.
Is there some attribute or marker interface that can be used to aid Wolverine in finding a nested endpoint class? I tried applying the WolverineHandler attribute on the nested Endpoint class and even on its methods with no luck...
Some other way to achieve this? Manual mapping? Changing discovery?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions