Skip to content

fix: can not add a new node / prop #15

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

Merged
merged 1 commit into from
Mar 30, 2025
Merged

Conversation

woshiluo
Copy link
Member

  • fix: can not add a new node / prop
  • refactor: serialize and patch

To avoid copy-paste word, we use SerializeMap instead of serialize_newtype_struct.This change required rewrite serialize_dynamic_field function and split it, so we can not use backtracking.

Now it will create a new serailizer for every node or prop, not a ref.

refactor: serialize and patch

To avoid copy-paste word, we use SerializeMap instead of
`serialize_newtype_struct`. This change required rewrite
`serialize_dynamic_field` function and split it, so we can not use
backtracking. Now it will create a new serailizer for every node or
prop.

Signed-off-by: Woshiluo Luo <[email protected]>
@luojia65 luojia65 merged commit eb0e525 into rustsbi:main Mar 30, 2025
2 checks passed
Placebo27 added a commit to rustsbi/bouffaloader that referenced this pull request Mar 31, 2025
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.

2 participants