Skip to content

Conversation

@testower
Copy link
Collaborator

@testower testower commented Nov 5, 2025

Related to #184

The validator engine is not always able to point to a specific location in the schema for a given error. This seems to be the case for allOf, anyOf and oneOf validations as well as enums. The reason presumably being that there are multiple locations to choose from.

This PR makes the field in the api response nullable, so that consumers can handle that it sometimes comes back as null.

Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

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

LGTM

@testower testower merged commit bd49d28 into MobilityData:master Nov 6, 2025
2 checks passed
@testower testower deleted the fix/make-schema-path-optional branch November 6, 2025 16:37
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.

3 participants