I have come across a bug with the JsonDataSource generator where a nullable int is being turned into a string.
As per the documentation on the JsonDataSource it should accept nullable ints : Documentation
If you switch the ReviewerQuestionOptionAnswerId in the json attached to all being int (i.e. none being null) then the attached program will run. However if you run it in its current state it will produce the following error:
Error! Can not apply operator ‘==’ to operands of type ‘System.Nullable`1[System.Int32]’ and 'System.String’
Which is incorrect as the type should be int.
I have tested this issue all the way back to 20.3 which all have the same bug as far as I can tell.
A patch would be greatly appreciated as this is blocking us.
Not working Version:
JsonDataSourceBugged.zip (20.5 KB)
JsonDataSourceFixed.zip (20.6 KB)
Attached buggy document:
Buggy.zip (10.0 KB)