-
Notifications
You must be signed in to change notification settings - Fork 177
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
Use a multimethod for content-type dispatching #548
Conversation
I want to see if I can get a few tests on this, but it might take me a few days. |
The implementation looks good to me. You might mention something about this in the readme and the changelog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for cleaning this up @plexus.
Thanks for looking at this. I'll be on the road a lot the coming week but I do plan to still add some stuff here so don't merge yet. Note to self:
|
f5f9023
to
da53829
Compare
Codecov Report
@@ Coverage Diff @@
## master #548 +/- ##
=========================================
Coverage ? 72.97%
=========================================
Files ? 36
Lines ? 2442
Branches ? 142
=========================================
Hits ? 1782
Misses ? 518
Partials ? 142
Continue to review full report at Codecov.
|
@plexus I plan to cut 0.19 in the next few days. Let me know if you want me to merge this for it or not. |
Not before CI is green.
Bozhidar Batsov <[email protected]> 於 2018年12月21日 週五 17:03寫道:
… @plexus <https://github.com/plexus> I plan to cut 0.19 in the next few
days. Let me know if you want me to merge this for it or not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#548 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB91DWajA20lnAchOJJMlB29QVsUM54ks5u7QY0gaJpZM4XUlo5>
.
|
One year later... I think we've got a new CI and that's it's green! 😉 |
I swear I think about this PR at least once a month 🙃 |
Careful, you're gonna make me dust off my Clojure setup just to free myself from the GH notifications ;) |
@plexus This one needs to be rebased. Perhaps we will finally merge it this year! :D |
Make the content-type middleware that handles inlining of File/URL/Image extensible through a multimethod. This makes it possible for developers to add handling of custom types. Regular Clojure values can be given a `:type` metadata to make them distinguishable. Other types can dispatch on the class.
da53829
to
57bde4d
Compare
The CI woes never end 🤣
In any case, rebased, and adding a CHANGELOG entry and some info in the docs. |
As for the CI - I like the idea of switching to GHA more and more each day. :D |
Further document the content-type middleware.
Maybe it's to do with me pulling from my own repo? let me try to open a fresh PR. |
Closing this in favor of #742 |
Make the content-type middleware that handles inlining of File/URL/Image
extensible through a multimethod. This makes it possible for developers to add
handling of custom types.
Regular Clojure values can be given a
:type
metadata to make themdistinguishable. Other types can dispatch on the class.