-
Notifications
You must be signed in to change notification settings - Fork 216
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(request-maker): use upstream httpsnippet #663
Conversation
Deploy preview for stoplight-elements ready! Built with commit e3611f3 |
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.
Works good!
There are TS problems regarding importing modules. Check out test step.
I'm aware. There are some DefinitelyTyped issues: DefinitelyTyped/DefinitelyTyped#49170 Also we make quite a lot of lies in the |
params: getEnabledParams(this.formDataParams).map(p => ({ | ||
name: p.name, | ||
fileName: p.name, | ||
value: p.value, | ||
value: p.value instanceof File ? '<file contents>' : p.value, |
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.
These are intentionally dummy. I wanted to make the least intrusive change possible while correcting the type violations.
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.
Still good to me 👍
There's some build error but it looks irrelevant. Locally works fine.
Oh, the tests are failing. I think you forgot to add new snippet data |
Tests fixed. Unfortunately it looks like the build cannot be fixed just yet. Iceboxing this until the upstream issue is resolved |
fae2d87
to
3713abb
Compare
I convinced Kong to release a new version 🎉 😇 So this is good to go. Rebased. |
Resolves #628
Depends on DefinitelyTyped/DefinitelyTyped#48987
After merging this PR we should archive stoplightio/httpsnippet