-
Notifications
You must be signed in to change notification settings - Fork 7
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
Interfaces around Services for testing #13
Comments
@ciroque Some questions before I answer:
|
Hi @hbagdi
Thanks! |
@ciroque Sounds like a good addition. |
Trying to eke out some time at work to get this done. The Go codegen is not something I am familiar with, but going to learn it. Thanks! |
We are using go-kong and have been writing unit tests around our code. To help with this we have written interfaces for the various Services (RouteService, Svcservice, UpstreamService, and TargetService thus far).
In a way we have painted ourselves into a corner with this.
In trying to hook up the actual go-kong library we are writing super thin wrappers that meet our interface definitions and adapt to go-kong.
It would be much easier if the interfaces existed in go-kong.
Does this sound reasonable? We can prepare a PR if it something people think would be helpful.
The text was updated successfully, but these errors were encountered: