Comments (4)
Originally reported in #6.
from pbparser.
This needs to be handled by providing invokers ability to provide parsing options. This is a Public API change and will need changes to examples, docs etc as well. This'll take some time, but I'll get to it.
from pbparser.
Hi @tallstoat, I'd like to take a crack at this but I'm not sure if you're alive or if this library is maintained any more :) (I hope it is, it's awesome and thanks for your work so far!)...
We could make this a /v2
(as Go likes) to maintain the current one, and either or both of the Parse
functions could take either functional options or just an ignoreDependencies
option.
Then in verifier.go
we would ignore the the public dependencies check and not parse some of the dependencies.
Then again you wrote this and I can't see easily without a lot of investigation how this would affect other places in the code, so I'd appreciate some input here. Happy to do the work myself...
from pbparser.
Is this of your interest @tallstoat? My current use case is that when I use google wrappers for scalar values I get errors like:
ImportModuleReader is unable to provide content of dependency module google/protobuf/wrappers.proto. Reason:: open myfolder/google/protobuf/wrappers.proto: no such file or directory
from pbparser.
Related Issues (7)
- package declaration should be optional HOT 1
- parser comments will cause infinite loop
- Cannot find messages when package is defined across more than one dependency
- Multiple protos in the same package importing each other HOT 3
- Cannot handle grpc gateway options HOT 3
- [BUG] Message within message causes not defined error
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 pbparser.