Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export validation error type #229

Merged
merged 6 commits into from
Sep 30, 2024
Merged

Conversation

leoraba
Copy link
Contributor

@leoraba leoraba commented Sep 18, 2024

PR to fix Issue #230
To be able to export type DictionaryValidationRecordErrorDetails on package @overture-stack/lectern-client

@leoraba leoraba requested a review from joneubank September 18, 2024 13:23
@joneubank
Copy link
Contributor

I have no problem with this, but I wonder if we should also export more error details. A similar need could arise from the response to the other validation functions.

For example:

  • SchemaValidationRecordErrorDetails to go with SchemaRecordError
  • FieldValidationErrorRestrictionInfo to go with FieldValidationError
  • ParseRecordFailureData to go with ParseRecordResult

Copy link
Contributor

@joneubank joneubank left a comment

Choose a reason for hiding this comment

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

Let's be consistent and export error details from more of the responses. I listed the others here: #229 (comment)

@leoraba
Copy link
Contributor Author

leoraba commented Sep 19, 2024

Added additional types to export.

@leoraba leoraba requested a review from joneubank September 19, 2024 19:23
@joneubank
Copy link
Contributor

Reviewing why the Jenkins CI tests are failing - errors are not caused by the changes in this PR...

@leoraba leoraba merged commit f0b9473 into develop Sep 30, 2024
@leoraba leoraba deleted the export-validation-details-type branch September 30, 2024 18:18
@leoraba leoraba mentioned this pull request Oct 3, 2024
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