Skip to content

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

Merged
erunion merged 1 commit intomainfrom
feat/sync-snippet-gen
Apr 9, 2024
Merged

feat(snippet): making the library synchronous again#855
erunion merged 1 commit intomainfrom
feat/sync-snippet-gen

Conversation

@erunion
Copy link
Copy Markdown
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 darrenyong and kanadgupta 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
Copy Markdown
Contributor

@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
@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