choria-io / mcorpc-ruby-support

Support libraries to enable Ruby agents and clients to communicate with the Choria Server
https://choria.io/
Apache License 2.0
1 stars 8 forks source link

Allow ints for :float type when validating inputs #173

Closed ripienaar closed 3 years ago

ripienaar commented 3 years ago
JSON.parse('{"x":200}')

will set x to Integer, which given Rubys dynamic types is fine, so we should accept that as a float