Add a RecordField to the RecordSchema where the DataType is a
RecordDataType... a RecordDataType then has a child schema.

May be helpful to look at the code that converts between RecordSceham
and Avro schemas:

On Sun, Apr 8, 2018 at 6:05 PM, Mike Thomsen <> wrote:
> Can someone tell me how to build a nested schema using RecordSchema and
> RecordField objects? The use case here is to make MongoDBLookupService able
> to roughly detect the schema from the returned bson Document.
> Thanks,
> Mike

Reply via email to