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

New template using HTTP utils #460

Merged
merged 5 commits into from
Jan 12, 2024
Merged

New template using HTTP utils #460

merged 5 commits into from
Jan 12, 2024

Conversation

josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Jan 12, 2024

This PR updates the template package to use the new HTTP utils.

  • Adaptor logic is updated to show current best pratice
  • Tests updated to show some neat new patterns.

To make this a little slicker I've added a couple more util functions into common.http (inspired by @mtuchi's work in #425)

Closes #321

@josephjclark josephjclark changed the base branch from main to epic/http January 12, 2024 15:46
@josephjclark
Copy link
Collaborator Author

@taylordowns2000 can I ask you to ignore the diffs in common and http and take a look at how template looks now?

@taylordowns2000
Copy link
Member

@josephjclark , really nice and clean. is commonRequest following the new pattern? (and is it shared under language-http?)

@josephjclark
Copy link
Collaborator Author

@taylordowns2000 commonRequest comes from common. It's the same helper function that the HTTP adaptor uses.

@josephjclark josephjclark merged commit 027b581 into epic/http Jan 12, 2024
1 check passed
@josephjclark josephjclark deleted the http-template branch January 12, 2024 16:46
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