Commit 3058104
authored
[HCK-12579]feat: migrate from avsc custom module in FE to a patch and update avsc from 5.4.11 to 5.7.9 (#201)
* Remove custom module and use a patched version of avsc library
* feat: migrate avsc patch from 5.4.11 to 5.7.9
- Update avsc dependency from 5.4.11 to 5.7.9
- Migrate custom patch for error collection functionality
- Replace throw new Error() calls with Type.addError() for non-blocking validation
- Add errorsCollector array and Type.addError function for error aggregation
- Maintain backward compatibility with existing error handling behavior
- Update package-lock.json to reflect new avsc version
This migration ensures the plugin continues to work with the latest avsc version
while preserving the custom error collection functionality that prevents
validation errors from blocking the schema processing workflow.
* clean the patch by removing the backup file
* Expose errorCollector in the barel file and align with studio patch to add the schema validation helper1 parent 3dd5dca commit 3058104
22 files changed
Lines changed: 727 additions & 9505 deletions
File tree
- forward_engineering
- helpers
- modules/avsc
- etc/browser
- lib
- lib
- types
- patches
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 0 additions & 36 deletions
This file was deleted.
This file was deleted.
0 commit comments