aboutsummaryrefslogtreecommitdiff
path: root/src/nimpb_buildpkg/plugin.nim
AgeCommit message (Collapse)Author
2018-04-11Make this repo only a container for protocOskari Timperi
2018-04-08Add initial message to JSON serialization supportOskari Timperi
2018-04-07Support custom service generatorsOskari Timperi
Copied this feature from prost. A RPC library could use nimpb_build to generate RPC code automatically based on service definitions in .proto files.
2018-04-07Read fields even for empty messagesOskari Timperi
When a message definition doesnt have any fields, it could be that in the future the definition has fields. The message on the wire could have unknown fields, even if our definition does not have any fields. So, we should read fields for "empty" messages and store the unknown fields so that we can pass them through if needed.
2018-04-07Include size of unknown fields in message sizeOskari Timperi
2018-04-07Fix default values for enums in dependenciesOskari Timperi
The compiler crashed because it didn't have a default value for an enum defined in another file. Now the compiler finds the definition of the enum when asked for a default value of an enum.
2018-04-06Remove plugin_pb.nim as it's not needed anymoreOskari Timperi
2018-04-06Refactor to use FileDescriptorSetOskari Timperi
This should make the implementation a bit simpler. It should be easier also to use nimpb_build as a library!
2018-04-06Handle defaults for enums betterOskari Timperi
2018-04-06Read and write unknown fieldsOskari Timperi
2018-04-06Generate a bit less codeOskari Timperi
2018-04-06Handle default valuesOskari Timperi
2018-04-06Fix crashOskari Timperi
2018-04-06Use the plugin to generate descriptor_pb and plugin_pb and use thoseOskari Timperi
2018-04-06Initial commitOskari Timperi