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

feat(snippet): making the library synchronous again #855

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

erunion
Copy link
Member

@erunion erunion commented Apr 8, 2024

🧰 Changes

@kanadgupta has been running into some trouble this week trying to upgrade our oas-to-snippet integration in our API Explorer to comply with its new asynchronous nature. Instead of trying to refactor the internals of formdata-to-string, which is requiring httpsnippet to be async, I ended up figuring out a way to remove formdata-to-string entirely.

readmeio/httpsnippet#224

With that work oas-to-snippet can be a synchronous library again.

This will be a breaking change to oas-to-snippet.

@erunion erunion requested review from kanadgupta and darrenyong April 8, 2024 22:21
@erunion erunion added enhancement New feature or request refactor Issues about tackling technical debt labels Apr 8, 2024
Copy link
Member

@kanadgupta kanadgupta left a comment

Choose a reason for hiding this comment

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

tysm for this 👑 before you tag a new release let me know, i might try and spend a little time tomorrow morning tightening up a few types

@erunion erunion merged commit c54d5da into main Apr 9, 2024
7 checks passed
@erunion erunion deleted the feat/sync-snippet-gen branch April 9, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants