Comments (10)
@jhump @thempatel I want to use this feature, how can I use this?
from grpcui.
Perhaps even more important is to include not only the field names in the response table but also the field types. This is necessary, for example, to distinguish between regular message types, map types with string keys (particularly when used with keys that are also legal protobuf identifiers), and arbitrary JSON data in the form of google.protobuf.Value
messages (and related types defined in google/protobuf/struct.proto
).
from grpcui.
That would be such a useful feature to have, especially to create test data. Guess I'll have to hand-craft the expected response from scratch, ouch.
from grpcui.
Currently when trying to render huge responses, the page freezes up and is unusable, at least in chrome.
If this feature is implemented it should come with the ability to default to a raw json response view to avoid the page trying to render the whole parsed response.
from grpcui.
So I think the first way to start might be to simply replace the formatted HTML view of the response with a textarea that shows the raw JSON. That will make the UI faster and make the response more useful, since it can be copied.
A future improvement might be an option here, to toggle from JSON to a structured HTML view, but that won't likely be useful unless it could show more than just the JSON structure -- like if it included information about field types and maybe even allowed accessing things in the response schema, like field definitions, options, comments, etc.
from grpcui.
from grpcui.
@thempatel, hawt! Got a PR for that?
That seems functionally better than the "pretty" HTML form that's there now. Sadly, it is often just a hindrance.
from grpcui.
I have a branch but I can't seem to push it to remote :(
>>> gpsup
ERROR: Permission to fullstorydev/grpcui.git denied to theMPatel.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
from grpcui.
ok still learning the whole fork/commit model: #100
from grpcui.
Resolved in #100
from grpcui.
Related Issues (20)
- Too many colons in the address
- Grpcui image does not have shell, ssh and cp comman. It would be usefull to copy protoset to image. HOT 6
- Show grpc-message content even if unexpected HTTP Status codes or Content Types are set
- Filling protobuf.any value in grpcui HOT 5
- Additional headers -H works with grpcurl but not grpcui HOT 3
- Embedding clarification for subroutes. HOT 2
- Can't work with proto definitions that include includes external proto definitions. HOT 2
- insecure flag doing nothing HOT 2
- Output the size of the binary request/response in verbose log
- -open-browser=true doesn't work properly on faulty open handlers
- Question about JSON HOT 3
- -default-header would be clear when using -examples at the same time HOT 2
- Failed to dial target host "localhost:8181": context deadline exceeded HOT 3
- Can't I use Dockerfile? HOT 2
- where is the docker image hosted? HOT 5
- Import Error "lookup of '$ret6' failed HOT 3
- The browser displays a connection error. HOT 1
- How can I wait for stream answers? HOT 1
- Is gRPC curl still visible from `Raw request` tab?
- Runtime error: invalid memory address or nil pointer dereference HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpcui.