mansiverma897993 d4e7d8da12 feat: Add automated parameter validation framework
- Adds properties 'integer' and 'allowEmpty' to Ingredient class to specify constraints on operation parameters.
- Implements 'validate(val)' on Ingredient to check values against min/max, maxLength, integer type, and non-empty rules.
- Implements 'validateIngredients(args)' on Operation to validate arguments against their definitions.
- Integrates validation check in Recipe.execute to automatically run validations during recipe execution.
- Integrates validation check in Node API wrappers (_wrap) to enforce constraints when calling operations programmatically in Node.js.
- Registers a new test operation 'Automated Validation Test Op' and adds 10 test cases covering integer limits, real/float boundaries, empty checks, and toggleString structures.
- Updates existing 'To Hexdump' width-too-large test to align with automated validation output.
2026-06-15 15:17:49 +05:30
..