How to upgrade model sdk

1
In order to have support for Mendix 7.x I'd like to upgade my ts/node-scripts to use mendix modelsdk 4.x, which implies also upgrading platformsdk to 4.0.0 Does anyone have a readme on how to do it? I ran npm update and tsd update, but get all sorts of errors, mostly in the modelsdk-package itself: node_modules/mendixmodelsdk/dist/gen/*: Types of property * are incompatible  
asked
1 answers
2

Hi Marien,

As part of the Mendix ModelSDK v4 release, we've upgraded to Typescript 2, which probably causes some of the issues you're having. So the first step would be to upgrade to TS 2.x and no longer use the TSD typing but directly use types in the package.json. Our updated documentation for the Mendix Platform SDK shows a bit more specific how to do that e.g. for the `when` library. Next would be fixing breaking changes in the ModelSDK, listed in our releasenotes for Model SDK 4.0. Hopefully, this is helpful to get started and please ask again if you keep running into problems :)

answered