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

feat(java): Type annotation hints for serialization(WIP) #2036

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

Hen1ng
Copy link
Contributor

@Hen1ng Hen1ng commented Feb 5, 2025

What does this PR do?

Related issues

#1956

Does this PR introduce any user-facing change?

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

Benchmark

@Hen1ng Hen1ng requested a review from chaokunyang as a code owner February 5, 2025 07:52
@Hen1ng Hen1ng changed the title [Java] Type annotation hints for serialization feat(java): Type annotation hints for serialization Feb 5, 2025
@Hen1ng Hen1ng changed the title feat(java): Type annotation hints for serialization feat(java): Type annotation hints for serialization(WIP) Feb 5, 2025

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface FieldInfo {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we name it as FuryField, just like JsonField

pandalee99 pushed a commit that referenced this pull request Mar 22, 2025
#2113)

## What does this PR do?

This pr supports passed tracking ref meta when building serializers. The
meta can be pssed by Type Annotation in #2036 or by classdef encoded
into binary.

## Related issues


## Does this PR introduce any user-facing change?

<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fury/issues/new/choose) describing the
need to do so and update the document if necessary.
-->

- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?

## Benchmark

<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->
@pandalee99 pandalee99 self-requested a review March 22, 2025 18:59
chaokunyang added a commit to chaokunyang/fury that referenced this pull request Mar 23, 2025
apache#2113)

## What does this PR do?

This pr supports passed tracking ref meta when building serializers. The
meta can be pssed by Type Annotation in apache#2036 or by classdef encoded
into binary.

## Related issues


## Does this PR introduce any user-facing change?

<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fury/issues/new/choose) describing the
need to do so and update the document if necessary.
-->

- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?

## Benchmark

<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->
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