Generating dgraph schema from protobuf defs

Hi Folks, I am looking at storing pretty large schema which I have a protocol buffers schema for. Are there any tools or shortcuts I can take in defining a Dgraph schema for this? There are hundreds of messages and thousands of fields, and the schema is evolving, so I would like to have some automated way to output the dgraph schema. I thought I might create a protoc plugin to generate the schema, and leverage some custom options for hinting various things like indexing. Additionally, are there apis that would let me persist the raw protos then, assuming the schema matches up and dgraph is using PBs under the hood anyway?

Just looking for any docs / resources / ideas to help me along.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.