Update @samchon/openapi
, the Try<T, E>
composer.
#1400
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the
typia
andtypescript-json
packages, focusing on version updates, dependency management, and improvements to error handling in various programmers. The most important changes include version updates inpackage.json
files, enhanced error handling in LLM schema composers, and updates to validation functions in test files.Version Updates:
package.json
: Updated the version oftypia
to7.0.0-dev.20241202
and updated the@samchon/openapi
dependency to^2.0.0-dev.20241202-2
. Also added@samchon/openapi
topeerDependencies
. [1] [2]packages/typescript-json/package.json
: Updated the version to7.0.0-dev.20241202
and updated thetypia
dependency to7.0.0-dev.20241202
. Added@samchon/openapi
topeerDependencies
. [1] [2]Error Handling Improvements:
src/programmers/llm/LlmApplicationProgrammer.ts
: Enhanced error handling by usingIResult
andIOpenApiSchemaError
for better error reporting and handling in LLM schema composers. [1] [2] [3]src/programmers/llm/LlmParametersProgrammer.ts
: Improved error handling by usingIResult
andIOpenApiSchemaError
in LLM parameters composer. [1] [2]src/programmers/llm/LlmSchemaProgrammer.ts
: Enhanced error handling by usingIResult
andIOpenApiSchemaError
in LLM schema composer. [1] [2] [3]Validation Function Updates:
test/src/internal/_test_functional_validateEqualsFunction.ts
: Updated validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_functional_validateEqualsFunctionAsync.ts
: Updated async validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_functional_validateEqualsParameters.ts
: Updated validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_functional_validateEqualsParametersAsync.ts
: Updated async validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_functional_validateEqualsReturn.ts
: Updated validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_functional_validateEqualsReturnAsync.ts
: Updated async validation functions to handleIValidation
results and properly sort error paths.test/src/internal/_test_validateEquals.ts
: Updated validation functions to handleIValidation
results and properly sort error paths.Documentation Updates:
packages/typescript-json/README.md
: Updated descriptions to better reflect the capabilities of enhanced JSON schema and LLM function calling schema.Minor Fixes:
src/IValidation.ts
: Removed unnecessaryerrors
field fromISuccess
interface.