Is there anyway to include the fields of another schema into our schema
WITHOUT it creating a nested record?
{
"type": "record",
"name": "Parent",
"fields" : [
{
"name": "foo",
"type": "string"
}
]
}
{
"type": "record",
"name": "Child",
"fields" : [
{
"name": "bar",
"type": "string"
},
// I dont want it nested like this
// {
// "name": "parent",
// "type": "Parent"
// }
]
}
So in this example is there a way to have child include both the "bar"
field as well as "foo" without it nested under parent?
Thanks