-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Implement
MessageWriter
trait (#20)
* Post-release version update * ✨ Implement simplified PipesMessageWriter trait * 📝 Add docs * 🔥 Simpify `DefaultWriter::Channel` * 🐛 Fix error in example main.rs * 📝 Update changelog * Fix with Clippy lints * Derive Clone for quicktype types * Create constructor for PipesMessage * ✅ Add unit tests * ✚ Add `rstest` dev dep to test suite * ✅ Add unit tests for message writer And modify its return type to be an enum instead of Box * fixup! Derive Clone for quicktype types
- Loading branch information
1 parent
a289cf9
commit dcf81cb
Showing
12 changed files
with
554 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
2 changes: 1 addition & 1 deletion
2
example-dagster-pipes-rust-project/rust_processing_jobs/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!bash | ||
|
||
printf -- '%s\0' jsonschema/pipes/*.schema.json | xargs -0 \ | ||
quicktype -s schema -l rust --visibility public --derive-debug --derive-partial-eq -o src/types.rs | ||
quicktype -s schema -l rust \ | ||
--visibility public --derive-debug --derive-clone --derive-partial-eq -o \ | ||
src/types.rs |
This file contains 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
This file contains 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
Oops, something went wrong.