Giter Site home page Giter Site logo

jrapoport / grpc-web-devtools Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 4.0 5.31 MB

Chrome & Firefox Browser extension to aid gRPC-Web development using native gRPC-Web interceptors.

License: MIT License

HTML 3.18% JavaScript 83.13% CSS 10.02% Makefile 1.41% Dockerfile 0.24% Go 2.02%
chrome chrome-extension debugging-tool developer-tools devtools firefox firefox-extension grpc grpc-interceptor grpc-web javascript platform react streaming-call

grpc-web-devtools's People

Contributors

dependabot[bot] avatar jackielii avatar jrapoport avatar k0sukey avatar mrmaxmeier avatar rogchap avatar ty3uk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grpc-web-devtools's Issues

Official release

Could you officially release your fork as a plugin for firefox and chrome so people can use it without building it themself?

Calls to stream methods removeListener and cancel being ignored

The current DevToolsStreamInterceptor implementation doesn't support calls to the stream's methods removeListener and cancel as calling these methods on the interceptor just does nothing. This leads to streams not being cancelled while the devtools are open.

Change name to: grpc-debug-interceptor

I'm thinking to change the name of the repo to avoid confusion in advance of publishing to Chrome and am seeking comment. More so on if this should happen and not what it's called.

toObject error

506:11 Uncaught (in promise) TypeError: reqMsg?.toObject is not a function
    at postMessage (<anonymous>:11:29)
    at DevToolsUnaryInterceptor.postError (<anonymous>:35:7)
    at <anonymous>:43:40

I fixed it with this patch:

   const postMessage = (type, name, reqMsg, resMsg, error) => {
-    const request = reqMsg?.toObject();
-    const response = error ? undefined : resMsg?.toObject();
+    const request = reqMsg;
+    const response = error ? undefined : resMsg;

and everything works!

Slow JSON viewer

I have some gRPC requests with 6038 items in a map, making the JSON viewer take a long time to load initially and load more data once I click on the dropdown. While the dropdown feature is nice, perhaps switching to something like Monaco that has performant rendering would be worthwhile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.