This PR adds a validateInstance method to the TypeChatJsonTranslator type. This function is called following successful schema validation of an instance. By default the function just returns a Success<T>, but an application can assign a new function that implements any additional validation.
This PR adds a
validateInstance
method to theTypeChatJsonTranslator
type. This function is called following successful schema validation of an instance. By default the function just returns aSuccess<T>
, but an application can assign a new function that implements any additional validation.Fixes #91.