-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We have written validation code that follows the exact structure of these types, using the new typescript asserts feature. It's great for safely casting documents that came over the network into the types from this package.
Since the validators need to match exactly with how the types are defined, I think it would be appropriate to upstream the validators into this package. Do you agree?
If so I can make a PR adding the validators. They would live in a separate module inside this package, so they wouldn't add anything to apps that don't choose to import from jsonapi-typescript/validators.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels