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

feat: Validate expected OME-XML metadata #706

Merged
merged 2 commits into from
Nov 11, 2023
Merged

feat: Validate expected OME-XML metadata #706

merged 2 commits into from
Nov 11, 2023

Conversation

manzt
Copy link
Member

@manzt manzt commented Nov 11, 2023

Replaces TS types with zod definitions, for runtime validation. This way, if some expectation about types is broken, there will be a nicer error message in the console.

This is important for handling #697

Checklist

  • Update JSdoc types if there is any API change.
  • Make sure Avivator works as expected with your change.

@manzt manzt merged commit da0fb5d into master Nov 11, 2023
5 checks passed
@manzt manzt deleted the manzt/zod branch November 11, 2023 19:05
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.

None yet

1 participant