Do not automatically cast scalar types in "strict" mode #101
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Hacktoberfest
Issues that are limited in size and are fit for Hacktoberfest
It should be possible to throw an exception with incorrect scalar type casting.
Currently the scalar type casting is automatically depending on typed properties|doc block
If the json returns a string, and not a number an exception should/could be thrown
I like a strict type mapping and not an automatically casting of the values.
For Implementing a REST API and json mapping it is easier to see a possible response problem at once (false return type).
A Feature with a strict mode casting would be nice.
The text was updated successfully, but these errors were encountered: