-
feat(runtime): enhance payload rule resolution with dynamic path support
发布于
2026-05-17 15:06:43 +00:00 - Introduced
resolvePayloadRulePathsfunction to dynamically resolve rule paths supporting array queries and complex logic. - Updated payload processing logic (
apply defaults,overrides,filters) to handle resolved paths for better flexibility. - Added helper functions for path parsing, query matching, and logical resolution to improve modularity and reusability.
- Introduced payload condition match logic, including
match,not-match,exist, andnot-existrules inPayloadConfig. - Enhanced
payloadModelRulesMatchfunction to support conditional checks at various levels. - Added helper methods for evaluating JSON path conditions and values.
- Updated tests to validate new conditional rules against different payload scenarios.
下载附件
- Introduced