feat(binary-mapping): add binary and stream mapper support#98
Open
feat(binary-mapping): add binary and stream mapper support#98
Conversation
…commit, branch, and PR workflows - Introduced detailed guides for branch, commit, and pull request workflows under `docs/`. - Added shared references for scope detection, safety rules, file inclusion policy, and conventional types. - Included example workflows for `feat`, `fix`, and `ci` to set clear expectations. - Added templates for pull requests and release notes. - Ensured alignment with safety and inclusion standards.
…namoDB mappers - Introduced comprehensive integration tests for `CanonicalIntegrationModel` and related mappers. - Validated `ToItem` and `FromItem` conversion logic for various data structures and attributes. - Added support for binary attributes, scalar byte arrays, and streams in assertions. - Enhanced test coverage for round-trip consistency and data equivalence. - Registered the new test project in the solution file.
… DynamoDB mappers - Implemented `SetBinary`, `GetBinary`, `SetStream`, and `GetStream` methods in attribute extensions. - Added comprehensive tests for round-trip mapping of streams and binary data. - Updated property mapping logic to handle `byte[]` and `Stream` types seamlessly. - Enhanced type resolution strategy to include support for binary and stream scalar members. - Updated snapshots and generated mapper files for new cases including byte arrays and streams.
ncipollina
requested changes
Apr 9, 2026
Contributor
ncipollina
left a comment
There was a problem hiding this comment.
I don't see the version prefix update.
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.
Summary
Adds binary scalar support for
byte[]andStreamvalues across the generator and runtime layers so DynamoDBBattributes can be mapped without custom conversion code. It also adds integration and runtime test coverage for canonical models and binary attribute helpers, and includes the new localgit-workflowagent skill files that ship with this branch.Changes
byte[]andStreamas scalar/binary-mapped members inCollectionTypeAnalyzer,NestedObjectTypeAnalyzer, andTypeMappingStrategyResolverBinaryAttributeValueExtensionsand updated collection extension formatting/coverage in the runtime projectgit-workflowskill, templates, examples, and lockfile entries included in this branchValidation
Notes for Reviewers
Please review this as three commits since
main:feat(git-workflow),feat(integration-tests), andfeat(binary-mapping). The binary mapper work is the main functional change; the skill docs are also part of the branch and included intentionally.