AnWeber / vscode-httpyac

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac
MIT License
222 stars 20 forks source link

IntelliJ variables broken #277

Closed kobmik closed 2 months ago

kobmik commented 2 months ago

The latest update (6.13.0) broke the IntelliJ variables. In my case, $random.integer(70000000, 99999999) returns the value "78741155.22521658". It looks like a float number will be generated instead of an integer.

AnWeber commented 2 months ago

Sorry, I accidentally deleted the implementation. I overlooked the difference to $random.float and combined the two methods. Oops. I have now added tests.