Skip to content

feat: Add ResourceRef and asset extraction capabilities#17

Merged
afshawnlotfi merged 2 commits intomainfrom
feature/resource-refs
Jan 23, 2026
Merged

feat: Add ResourceRef and asset extraction capabilities#17
afshawnlotfi merged 2 commits intomainfrom
feature/resource-refs

Conversation

@afshawnlotfi
Copy link
Member

  • Introduced ResourceRef for file handling in Packable serialization, allowing automatic serialization by content checksum.
  • Added ExtractedAssets class to encapsulate results of asset extraction, including binary assets and their extensions.
  • Implemented extract_assets() method in Packable to extract assets from multiple values, supporting various data types.
  • Enhanced SerializationUtils to handle ResourceRef during value extraction, ensuring assets are read and stored correctly.
  • Updated tests to cover new functionality, including extraction from arrays, Packables, and ResourceRefs.
  • Created comprehensive tests for ResourceRef to validate its behavior in different scenarios, including path resolution and checksum computation.

- Introduced `ResourceRef` for file handling in Packable serialization, allowing automatic serialization by content checksum.
- Added `ExtractedAssets` class to encapsulate results of asset extraction, including binary assets and their extensions.
- Implemented `extract_assets()` method in `Packable` to extract assets from multiple values, supporting various data types.
- Enhanced `SerializationUtils` to handle `ResourceRef` during value extraction, ensuring assets are read and stored correctly.
- Updated tests to cover new functionality, including extraction from arrays, Packables, and ResourceRefs.
- Created comprehensive tests for `ResourceRef` to validate its behavior in different scenarios, including path resolution and checksum computation.
@afshawnlotfi afshawnlotfi merged commit 359db0e into main Jan 23, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant