Repository navigation
Add schema and streaming support - #1
Merged
Merged
Conversation
- Add Malli schema conversion functions (malli-type->str, malli-schema->field, malli-schema->fields) - Add normalize-module to support both field vectors and Malli schemas - Add input/output validation with Malli schemas (validate-input, validate-output) - Update predict function to support Malli schemas with optional validation - Add comprehensive test coverage for Malli functionality - Add examples/malli_usage.clj with 8 usage examples - Update README.md with Malli schema documentation - Maintain backward compatibility with existing field-based modules - All tests passing (10 tests, 86 assertions, 0 failures)
- Merge malli_usage.clj into basic_usage.clj - Remove financial comparison examples - Update README to reference single examples file - All examples now in examples/basic_usage.clj
- Replace :type string field with :spec Malli spec field
- Remove separate :input-schema/:output-schema in favor of :spec in field definitions
- Update all field definitions to use :spec instead of :type
- Simplify API: fields now consistently use {:name :spec :description} format
- Update all tests to use new :spec format
- Update all examples to use new :spec format
- Update README with new :spec-based API
- All 6 tests passing (57 assertions, 0 failures)
This is a breaking change that simplifies the API and makes Malli specs
a first-class part of field definitions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.