Skip to content

refactor!: change polygon part validation error to new format (MAPCO-10506)#183

Merged
shimoncohen merged 5 commits intoalphafrom
change-pp-validation-error
Apr 26, 2026
Merged

refactor!: change polygon part validation error to new format (MAPCO-10506)#183
shimoncohen merged 5 commits intoalphafrom
change-pp-validation-error

Conversation

@shimoncohen
Copy link
Copy Markdown

Update polygon part validation error to new structure.
Old:

"errors": ["SmallHoles", "Resolution"]

New:

"errors": [
  {"code": "Resolution", "isExceeded": true},
  {"code": "SmallHoles"}
]
Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

Comment thread src/types/ingestion/report.type.ts Outdated
@shimoncohen shimoncohen requested a review from RonitKissis April 26, 2026 09:19
Co-authored-by: Copilot <copilot@github.com>
@shimoncohen shimoncohen requested a review from RonitKissis April 26, 2026 13:37
@shimoncohen shimoncohen merged commit 2587722 into alpha Apr 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants