Skip to content

fix: ensure decode works without encode first - #297

Merged
tbouffard merged 3 commits into
developmentfrom
fix/codec_import_before_export
Jan 9, 2024
Merged

fix: ensure decode works without encode first#297
tbouffard merged 3 commits into
developmentfrom
fix/codec_import_before_export

Conversation

@tbouffard

Copy link
Copy Markdown
Member

Declare generic ObjectCodec for Cell properties that are defined as XML node. Codecs are currently only registered automatically during encode/export, so for now, they have to be registered to be available during decode/import.

Also improve some methods signatures in base Codec objects (use specific types instead of any).

Closes #178

Declare generic `ObjectCodec` for `Cell` properties that are defined as XML node.
Codecs are currently only registered automatically during encode/export, so for now, they have to be registered to be
available during decode/import.

Also improve some methods signatures in base Codec objects (use specific types instead of `any`).
@tbouffard tbouffard added the bug Something isn't working label Dec 29, 2023
@tbouffard
tbouffard marked this pull request as ready for review January 2, 2024 15:25
Comment thread packages/core/__tests__/serialization/serialization.xml.test.ts Outdated
Comment thread packages/core/__tests__/serialization/serialization.xml.test.ts Outdated
Comment thread packages/core/__tests__/serialization/serialization.xml.test.ts Outdated
Comment thread packages/core/__tests__/serialization/serialization.xml.test.ts Outdated
Comment thread packages/core/__tests__/serialization/serialization.xml.test.ts Outdated
@tbouffard
tbouffard merged commit 77a7359 into development Jan 9, 2024
@tbouffard
tbouffard deleted the fix/codec_import_before_export branch January 9, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing default ObjectCodec when decoding from XML

1 participant