-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix(ProtoBuf,XML): component data repeatable #530
fix(ProtoBuf,XML): component data repeatable #530
Conversation
@nscuro , could I ask you for a review? would you consider the proposed changes as non-breaking? Despite |
tools/src/test/resources/1.6/valid-component-data-1.6.textproto
Outdated
Show resolved
Hide resolved
@jkowalleck You are using the config category specification/tools/src/test/proto/buf_breaking-version.yaml Lines 3 to 7 in 19a1530
The docs define
So, while the proposed change is compatible WRT the wire format, source code generated from the schema will break. For example in Java, // Returns ComponentData
component.getData() whereas // Returns List<ComponentData>
component.getDataList() Similarly, construction of Proto objects will be different, too. It's safe to assume that almost all language bindings will mirror this behavior. IMO this is fine. I think the spec should focus on wire compatibility. |
thank you so much, @nscuro. I am not very experienced with ProtoBuf, so I might have configured the checks unideal.
This sounds plausible. |
518bf80
to
24693c8
Compare
LGTM |
our spec describes how data models look in data transfers. current protobuf breaking detection adheres this. the protobuf breaking detection also does unnecessary detections, which should not matter for our domain. they are removed, here. ---- changes are based on #530 (comment) --------- Signed-off-by: Jan Kowalleck <[email protected]>
24693c8
to
d8e75bc
Compare
Signed-off-by: Jan Kowalleck <[email protected]>
d8e75bc
to
a549c67
Compare
Co-authored-by: andreas-hilti <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]>
a549c67
to
3b580c4
Compare
fixes #518