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

Is it binary-compatible to delete (required) attribute? #8226

Open
oosavu opened this issue Jan 31, 2024 · 0 comments
Open

Is it binary-compatible to delete (required) attribute? #8226

oosavu opened this issue Jan 31, 2024 · 0 comments

Comments

@oosavu
Copy link

oosavu commented Jan 31, 2024

Hi!
Is it breaks binary compatibility to delete 'required' attribute from field?
For example let's assume that initially we had version_1:

table ChildTable
{   
    foo: string;
    bar: int; 
}

table ParentTable
{   
    baz: float;
    child: ChildTable (required); 
}

And then we changed ParentTable (version_2):

table ParentTable
{   
    baz: float;
    child: ChildTable; 
}

Also let's assume that we send ParentTable from server to client.
Initially we had version 1 in both client and server. At some point we changed protocol to v2 version on server side. Will we get an error on client side?

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

No branches or pull requests

1 participant