delete deprecated APIs#101
delete deprecated APIs#101keep94 merged 3 commits intowavefrontHQ:masterfrom LukeWinikates:delete-deprecated-apis
Conversation
|
Thanks for doing this work LukeWinikates. While I agree that we should eventually delete deprecated APIs, we may have several clients that still use these deprecated APIs. I have solicited other team members to have a look. |
|
Thanks @keep94 - I definitely understand the concern. Here's why I think removing the APIs is reasonable:
Thanks for getting more team members looking at these changes. Curious to hear what others think. |
|
@LukeWinikates thanks for helping to move this forward. @keep94 now that we have a release that has properly deprecated the Direct and Proxy senders, I think we're good to make a new release that actually deletes them. I think this warrants bumping to |
|
Let me know if y'all want me to rebase this branch to resolve the merge conflicts. I'm also fine if one of y'all wants to rebase it so that you can close the issue sooner. |
|
Some docs changes that go along with this :
|
|
@LukeWinikates Thank you again for the hard work. oppegard and I agree that we should merge this PR and delete the old deprecated APIs. It is fine if you rebase to resolve the conflicts with master. I was talking to oppegard saying it might be cool to add GO style examples that show up in pkg.go.dev and have the README file link to those examples. The advantage of GO style examples is that they get compiled and ran as part of the test suite, so you can be confident that they are correct. Also the examples show up in pkg.go.dev which is where GO developers go to learn how to use new APIs. You can read all about GO examples here https://go.dev/blog/examples. Would you be interested in doing that work? We could make the example work a different PR if you'd like. |
|
Thanks @keep94 - I'll rebase this tomorrow. I'll also add the examples as you described. I think that's a great idea. |
|
@oppegard thanks for you comments - I'll look into those as well |
|
I rebased the commit, but I'm also finding a lot to digest about the docs.
@oppegard & @keep94 I'd like to hear your thoughts on the above. In the meantime, here's my checklist:
Once this PR is approved, I'll copy the README content over into |
|
@LukeWinikates Regarding your point number 1. If you have "output" comments immediately following your example code such as Then GO runs your example code to verify that the output produced matches the expected output. But I have never written a go example without expected output. Maybe if there is no expected output, GO won't run the example at all only compile it? I'll do some experimenting around this today. I am not sure about your second point yet. I don't know enough about As for point number 3, while automating the generation of the internal metrics documentation would be cool. I don't think the internal metric names will change much in the future. Therefore, I think it is enough to just hand document the internal metrics the normal way. |
|
@LukeWinikates I just confirmed by experiment that examples in GO without documented expected output are only compiled and not ran. So having example code that opens http connections should be fine as long as there is no documented expected output. That is no comments exist after the code |
That's fair - I still think that the internal metrics aren't related to the purpose of this PR, and it would be better to open another issue to track that. |
That's also fair regarding internal metrics. I've created a 1.0.0 Milestone, and will create a new issue about documenting internal metrics that's tagged to that milestone. |
…d DirectConfiguration
|
@oppegard @keep94 I think this is ready to go now. I added a |
|
regarding Because I am skeptical of the value created by that repository given the overhead of maintaining it, and its apparent staleness. |
Removes several deprecated factory methods and associated types. See also #98