Skip to content
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

Http4s Module upload support #945

Merged
merged 13 commits into from
Jul 4, 2021
Merged

Http4s Module upload support #945

merged 13 commits into from
Jul 4, 2021

Conversation

pomadchin
Copy link
Contributor

@pomadchin pomadchin commented Jul 2, 2021

This PR just ports the Caliban Play module upload support.

@pomadchin pomadchin changed the title [WIP] Http4s Module upload support Http4s Module upload support Jul 2, 2021
Copy link
Owner

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

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

Great to see this added!

Can you add some tests like the ones for Play? I realize some of my comments also apply to the Play adapter (about random), I will modify it.

@ghostdogpr
Copy link
Owner

By the way the Play adapter is missing batching support: https://github.com/jaydenseric/graphql-multipart-request-spec#operations-2. Not sure it's something you want to handle while you're at it.

@pomadchin
Copy link
Contributor Author

pomadchin commented Jul 3, 2021

@ghostdogpr thanks for a quick review, hope tomorrow I'll have time to address your comments 🚀

Actually indeed that is the portion of the code that I'm using right now, but in the future I can see this (batching) being handy. Thanks for a pointer!

@pomadchin pomadchin requested a review from ghostdogpr July 3, 2021 21:49
@pomadchin
Copy link
Contributor Author

@ghostdogpr ready for the final review!

Copy link
Owner

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the contribution!

@ghostdogpr ghostdogpr merged commit 590de5d into ghostdogpr:master Jul 4, 2021
@pomadchin pomadchin deleted the feature/http4s-upload-2 branch July 4, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants