Skip to content

Support serialization metadata on template typedefs - #208

Merged
dellaert merged 1 commit into
masterfrom
codex/typedef-serialization
Aug 28, 2026
Merged

Support serialization metadata on template typedefs#208
dellaert merged 1 commit into
masterfrom
codex/typedef-serialization

Conversation

@dellaert

@dellaert dellaert commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • parse @serializable on template typedef instantiations
  • synthesize the wrapper serialization marker only for the annotated alias
  • reuse the existing Python and MATLAB serialization generation paths
  • document and test the new annotation

This lets clients expose several specializations of one class template while enabling serialization for an individual public alias without changing the underlying C++ template declaration.

Testing

  • uv run pytest tests -q (134 passed)
  • git diff master...HEAD --check

@dellaert
dellaert merged commit 7d1983f into master Aug 28, 2026
8 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