-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
enhancementRequest for a new featureRequest for a new feature
Description
To help engine customers catch issues early instead of getting unhandled exceptions / undefined behavior, we should consider validating parameters passed into public API functions / possibly some internal functions.
Validation:
- should run in the debug mode only to not impact performance
- could be specified outside of the function and code generated in debug mode to do validation
- ideally without having to add #ifdef
- unified approach with unified error reporting
- ideally should check parameter types, unexpected null / undefined parameters and similar
And likely some other validations - please add comments with ideas and suggestions on how this could be implemented.
Maksims and kungfooman
Metadata
Metadata
Assignees
Labels
enhancementRequest for a new featureRequest for a new feature