Skip to content

Conversation

junjiexh
Copy link
Contributor

@junjiexh junjiexh commented Sep 27, 2025

Why?

There is no test of pointer field test for meta share mode before, so I created some and fixed bugs when fory write type meta of a struct contains pointer field.

What does this PR do?

Add more test to refine meta share mode.

  • PointerFields: test serialization and deserialization of pointer fields
  • PointerFieldsInconsistent: test serialization and deserialization of Inconsistent pointer fields.

Related issues

#2192

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change? no
  • Does this PR introduce any binary protocol compatibility change? no

Benchmark

@junjiexh junjiexh changed the title feature(go): meta share mode can distinguish pointer and value type field feature(go): meta share mode can distinguish pointer and value type field(WIP) Sep 27, 2025
@junjiexh junjiexh changed the title feature(go): meta share mode can distinguish pointer and value type field(WIP) feat(go): meta share mode can distinguish pointer and value type field(WIP) Oct 12, 2025
@junjiexh junjiexh changed the title feat(go): meta share mode can distinguish pointer and value type field(WIP) feat(go): Add pointer field test for meta share mode Oct 12, 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.

1 participant