Skip to content

Conversation

@jakubjanecek
Copy link
Collaborator

This is not fully finished but I thought I'd put it up for review earlier. Docs and examples are missing, will be added before merging.

Copy link
Contributor

@sideeffffect sideeffffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would avoid creating wrapper classes which don't add any value, like class Http4sClientModule

@sideeffffect
Copy link
Contributor

@jakubjanecek it seems to me that you intended the modules/config case classes not just for any http4s server/client, but specifically for the Blaze flavours. So why not reflect that in the name of the objects, like Http4sServerBlazeModule instead of Http4sServerModule (and so on). Then we don't need to have debates about make vs makeBlaze method naming...

@jakubjanecek
Copy link
Collaborator Author

@sideeffffect I agree. After the discussions here I see that I made the mistake of making it generic http4s thing but it's actually only one of the implementations which is blaze in this case. I will rename the modules and classes accordingly. Thanks, this is a very good catch because it would be misleading and impossible to get rid of in the future.

@jakubjanecek
Copy link
Collaborator Author

I've tried to address all your comments somehow. Please have another look. Thanks.

@jakubjanecek jakubjanecek added documentation Improvements or additions to documentation feature New feature or request labels Sep 27, 2019
@jakubjanecek jakubjanecek marked this pull request as ready for review September 27, 2019 10:46
@jakubjanecek
Copy link
Collaborator Author

Everyone I think this is ready for the last round of review and possibly merging.

http4s modules renamed to http4s-blaze-* to be more precise

refactor: CorrelationIdMiddleware made more general

refactor: Http4sRouting made more general
refactor: PR review changes

docs: Add http4s docs and tweak mdoc configuration
@jakubjanecek jakubjanecek merged commit 3ffa8c4 into master Sep 30, 2019
@jakubjanecek jakubjanecek deleted the feat/http4s branch September 30, 2019 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature New feature or request

Development

Successfully merging this pull request may close these issues.

6 participants