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

[Question] <title> Change the property type from int to long #1930

Open
shaozhen2012 opened this issue Nov 7, 2024 · 1 comment
Open

[Question] <title> Change the property type from int to long #1930

shaozhen2012 opened this issue Nov 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@shaozhen2012
Copy link

Question

If the value of the attribute does not exceed, how to make the attribute type compatible. For example, change an attribute from int to long

@shaozhen2012 shaozhen2012 added the question Further information is requested label Nov 7, 2024
@amabilee
Copy link

amabilee commented Nov 7, 2024

Hey there!

To ensure type compatibility when changing an attribute type (e.g., from int to long), you can leverage Fury's type compatibility protocol. Fury supports forward and backward compatibility for object serialization, which means you can add or delete fields independently on the serialization and deserialization sides.

Here is more information: #1610, Documentation and #197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants