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

Test treatment of optional values #8

Open
sverhoeven opened this issue May 30, 2017 · 0 comments
Open

Test treatment of optional values #8

sverhoeven opened this issue May 30, 2017 · 0 comments

Comments

@sverhoeven
Copy link
Member

In grpc all fields are optional and get a default value when not set, see https://developers.google.com/protocol-buffers/docs/proto3#default
For example the default value for a string type is an empty string.

In Xenon null is used a lot as the default value.

Mapping default values between Xenon and gprc should be tested.

Giving Xenon an empty string instead of null could cause unintended behavior.

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