mattprecious / protogram

Quick and easy proto deserialization
https://mattprecious.github.io/protogram/
Apache License 2.0
113 stars 2 forks source link

Support ingesting proto dirs and specifying a proto file #35

Open JakeWharton opened 4 years ago

JakeWharton commented 4 years ago

Lots of times you are decoding your own protos and it would be nice if you could point at a proto dir and FQN of a proto.

For example,

$ protogram --protos ../protos example.User 0a827fbc073edda07
mattprecious commented 4 years ago

Could also do this on the web in theory.

mattprecious commented 4 years ago

Maybe not. You'd have to pass the entire contents of the proto files through as an argument.

JakeWharton commented 4 years ago

There's a new API coming that will provide access to a folder

JakeWharton commented 4 years ago

Web version blocked on availability of https://caniuse.com/#feat=native-filesystem-api