Skip to content

Conversation

@simonbs
Copy link
Contributor

@simonbs simonbs commented Nov 27, 2023

This PR uses zod to make it safer to parse project configurations. Specifically this solves two issues:

  • Automatically converts numbers to string when possible using z.coerce.
  • Throws clearer errors when parsing fails.

@simonbs simonbs self-assigned this Nov 27, 2023
@simonbs simonbs merged commit 8fea87d into develop Nov 27, 2023
@simonbs simonbs deleted the bugfix/projectconfig-parsing branch November 27, 2023 08:24
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.

1 participant