Git Product home page Git Product logo

Comments (6)

seime avatar seime commented on September 22, 2024 1

@fenos , thanks for a swift reply!

The file is included by default in the grpc stack. The link I posted was to the original; this one tells the full story: https://github.com/grpc/grpc/tree/master/src/proto/grpc/status

from bloomrpc.

fenos avatar fenos commented on September 22, 2024 1

@seime Thank you for the link and for reporting this.

I believe that adding this specific type to the client will make the experience better.
So i'll be including it in the next minor release

from bloomrpc.

seime avatar seime commented on September 22, 2024

https://github.com/googleapis/googleapis/tree/master/google/rpc

from bloomrpc.

fenos avatar fenos commented on September 22, 2024

Hi @seime,

This protofiles are very specific to googleapis and not as generic as the well-known types such as:

  • google.protobuf.Empty
  • google.protobuf.Timestamp
  • google.protobuf.Any
  • more...

everything under google/protobuf/* is supported out of the box.

If you are on version 1.2.0 of bloomrpc you can use import paths feature where you can provide a local path where those protofiles can be found.

Keep in mind that the path needs to be absolute to your file system but the import will be then relative to that path.

Let me know what are your reasons to have google/rpc baked in bloomrpc.

from bloomrpc.

fenos avatar fenos commented on September 22, 2024

Unfortunately, I have to re-open this issue, as the current implementation which has been merged doesn't work when the app compiles, it just work on development mode 🤕

The reason is that it tries to look for the imported protofile in the filesystem but the app is packaged up and not able to locate it.

This is a "bug" or "limitation" of protobuf.js.

I've opened an issue in protobuf.js repo here protobufjs/protobuf.js#1157
to allow me to proper implement this feature.

The fix will follow along once i know more 😄

from bloomrpc.

fenos avatar fenos commented on September 22, 2024

This is now fixed by #55

from bloomrpc.

Related Issues (20)

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.