-
Notifications
You must be signed in to change notification settings - Fork 17
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
[BUG] Properties with default values are not shown in Response pane. #45
Comments
Hi @DaveNay! Thank you for opening this issue. I will add default values in response in next release and ping you. I need to check that library that I'm using supports this, if yes I will add this fast. Also I see on screenshot that response timings are not human readable in ezy, will fix this too. |
@DaveNay I have one question, you said:
Which protobuf version are you using? In protobuf 2 we can set custom default values. According to protobuf 3 specs they are saying that you can't define default values. If your server didn't sent the field, gRPC automatically sets the default value by this convention:
Also if the field is optional:
I think I will cover both versions, but need to understand users needs, thanks! |
@notmedia Thanks for looking into this. We are using protobuf 3. It's not that we are defining default values, I'm only referring to the default values for POCO types: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/default-values |
Describe the bug
Due to the deprecation of BloomRPC, we are searching for an alternative solution. When comparing the Response shown in BloomRPC vs the response shown in ezy we discovered that properties that have default values (for their respective data type) are not shown in ezy.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Default values should be shown in the ezy Response pane.
Screenshots
The BloomRPC response is shown at the top, ezy response below. Properties with default values are highlighted in yellow.
Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered: