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
Seems OpenApi can't work with generic impls as i getting error about unknown types. Is there any way to workaround this and be able to abstract and mock from business layer here?
The text was updated successfully, but these errors were encountered:
I am trying to avoid direct dependency to business layer when expose API and struggling here.
In my business layer i have trait that defines api interface(+ some implementation). Like this
Now i want to expose my api as OpenAPI with poem, but i want avoid direct dependency to MyApi struct and depend on MyApiPort instead
Seems OpenApi can't work with generic impls as i getting error about unknown types. Is there any way to workaround this and be able to abstract and mock from business layer here?
The text was updated successfully, but these errors were encountered: