Skip to content

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

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

shimoncohen merged 5 commits into
alphafrom
change-pp-validation-error

Conversation

@shimoncohen

Copy link
Copy Markdown
Contributor

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 Resolved
@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
@almog8k almog8k mentioned this pull request Sep 23, 2026
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