Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support serialization target/format extension via Legolas schema version extension #134

Open
jrevels opened this issue Oct 31, 2022 · 1 comment

Comments

@jrevels
Copy link
Member

jrevels commented Oct 31, 2022

Right now Onda.jl has its own system for supporting author-defined extensions for new serialization formats (xref #97). I think it'd be nice/tractable to just use Legolas for this instead.

e.g. define RawLPCMSignalV1 > SignalV2, LPCMZstSignalV1 > SignalV2, etc.

this would be a breaking change though, and i didn't want to stuff #133 with more breakages

@jrevels jrevels changed the title support serialization format extension via Legolas schema version extension support serialization target/format extension via Legolas schema version extension Dec 11, 2022
@jrevels
Copy link
Member Author

jrevels commented Dec 11, 2022

If Legolas supported multiple inheritance this same approach could be used for (de)serialization targets, i.e. the sample data storage system, in composition w/ the format extension idea above.

so you could have MySignalV1 > (LPCMZstSignalV1, S3SignalV1) > SignalV2, or MySignalV1 > (RawLPCMSignalV1, LocalFileSystemSignalV1) > SignalV2, etc.

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

No branches or pull requests

1 participant