mswjs / data

Data modeling and relation library for testing JavaScript applications.
https://npm.im/@mswjs/data
MIT License
829 stars 52 forks source link

Wondering when this take/skip parseInt fix will be released? #122

Closed nikolasleblanc closed 3 years ago

nikolasleblanc commented 3 years ago

https://github.com/mswjs/data/blob/3016d6d0e8bdff85995933a69f7162c1ff081734/src/model/generateRestHandlers.ts#L91

Ran into an issue yesterday where take and skip weren't working until we parsed the strings as ints. See in your code you're now handling that, but not in the released version we have via npm. Any timeline? No rush since we've handled it on our end but curious.

Thanks!

kettanaito commented 3 years ago

Hey, @nikolasleblanc.

The fix has been released as long as in version 0.4.1 (the latest at the moment is 0.5.1). Please install the latest version via

$ npm install @mswjs/data@latest