Skip to content

Conversation

@martonvago
Copy link
Contributor

Description

This PR adds a function for handling grouped errors under $.resources[x].schema.fields[x].
Here, the problem comes from the fact that each field type has its own sub-JSON-schema, and each one of these sub-schemas flags issues when the type of a field is not its own type. So, if a field has type="number" and there is something wrong with the field, then the sub-schemas for year, string, etc. will also flag issues. The goal is to flag issues only for number.

Part of #15

Needs an in-depth review.

Checklist

  • Formatted Markdown
  • Ran just run-all

@martonvago martonvago moved this from Todo to In Review in Iteration planning Oct 29, 2025
@martonvago martonvago marked this pull request as ready for review October 29, 2025 15:08
@martonvago martonvago requested a review from a team as a code owner October 29, 2025 15:08
@martonvago
Copy link
Contributor Author

If we merge in #177, I will align this with that

Copy link
Member

@lwjohnst86 lwjohnst86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Only some small comments ☺️

@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Nov 3, 2025
@martonvago martonvago requested a review from lwjohnst86 November 3, 2025 14:17
@martonvago martonvago moved this from In Progress to In Review in Iteration planning Nov 3, 2025
Copy link
Member

@lwjohnst86 lwjohnst86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very small change to the error message

@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Nov 4, 2025
@martonvago martonvago requested a review from lwjohnst86 November 4, 2025 16:42
@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Nov 5, 2025
@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Nov 5, 2025
Copy link
Member

@lwjohnst86 lwjohnst86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lwjohnst86 lwjohnst86 merged commit 529b0cf into main Nov 5, 2025
6 checks passed
@lwjohnst86 lwjohnst86 deleted the feat/grouped-field-type-errors branch November 5, 2025 13:56
@github-project-automation github-project-automation bot moved this from In Progress to Done in Iteration planning Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants