schema-registry-ui
schema-registry-ui copied to clipboard
Issue creating and reusing custom types
Hi,
Using the Schema UI - is it possible to create a custom type which I can reuse?
So say I have the following:
{
"type": "record",
"name": "TestSchema",
"namespace": "com.test",
"fields": [
{
"name": "title",
"type": {
"type": "record",
"name": "CustomType",
"fields": [
{
"name": "value",
"type": "string"
},
{
"name": "secondLine",
"type": "string"
}
]
}
},
{
"name": "subtitle",
"type": "CustomType"
}
]
}
On validating the SchemaUI will complain that it does not know CustomType.
Even if I create a new schema and then try to reference the type using namespace.name doesn't work.
Is it possible to do this using Schema UI - or would i have to duplicate each time I want to use that specific type.
Thanks.
@psmod2 did you find a solution for the custom type?