Skip to content

Feedback: Migrations #421

Answered by kettanaito
wcwcaseman asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @wcwcaseman. Thanks for the feedback!

I hope most of your questions will be answered in Using with TypeScript. This goes through custom resolvers, handlers, and other things that require a bit more granular typing.

Specifically for your types:

  • MockedResponse -> Response (global).
  • RestRequest -> HttpRequest.
  • ResponseTransformer -> gone, no concept of transforming response anymore.
  • ResponseComposition -> gone, see the previous point.

Let me know if you have any concrete examples you'd like help migrating to v2.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kettanaito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants