Non-nullable Int fields are defaulting to "0"

So, I had a non-nullable Int type field defined. Which means if the value is passed as null, it should throw the error but will set the field value to “0” and following logic will still work keeping that variable/field value = 0.

Could you provide some code that shows the behaviour you are describing?