Git Product home page Git Product logo

protobuf-core's People

Contributors

mmmries avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

protobuf-core's Issues

Add Compiler Extension Hooks

In order to generate ruby code that can talk RPC we need to make our compiler from protobuf-core be extensible so that protobuf-rpc can tell it what to generate for services and rpc calls.

The Plan

the plan

Before we go down the road of changing what code gets generated by protobuf-core I thought it would probably be valuable to create protobuf-core, protobuf-rpc and protobuf-zmq in a form that matches the current protobuf gem. We can keep the version numbers in the 3.X series and just get the code organized into the new shape we want. Then we can start to experiment with changing what code is generated etc.

Does this sound like a good plan? If so I will make a 3.X milestone and create some issues to track what I'm working on and I'll defer experimenting with the generator until we get things to a workable state.

/cc @localshred @liveh2o

Add one end-to-end test

Right now we are generating protobuf files that include rpc related functionality which will not work if you tried to use that file with protobuf-core.

In order to catch these types of errors lets add 1 end-to-end test that takes a protobuf definition, compiles it to ruby, loads the ruby file and then encodes/decodes some messages with that ruby class.

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.