Feedback: Migrations #421
Answered
by
kettanaito
wcwcaseman
asked this question in
Q&A
FeedbackWe use internal types from version 1, MockedResponse, RestRequest, ResponseTransformer, ResponseComposition and there is no clear upgrade path for using these. Also can't get codemod to work at all. Having typescript examples would also be helpful. I think we have a complex setup but any help would be appreciated thanks. |
Answered by
kettanaito
Oct 5, 2024
Replies: 1 comment
|
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:
Let me know if you have any concrete examples you'd like help migrating to v2. |
0 replies
Answer selected by
kettanaito
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.