Identifies companion objects of the Scala union "template" classes generated by Courier that
were defined within a typeref and provides access to the typeref's schema.
Because the union is not a named type in Pegasus, it cannot have schema properties directly
defied on it. As a result, the defining typeref is often used as an anchor for adding names
and properties to unions.
Identifies companion objects of the Scala union "template" classes generated by Courier that were defined within a typeref and provides access to the typeref's schema.
Because the union is not a named type in Pegasus, it cannot have schema properties directly defied on it. As a result, the defining typeref is often used as an anchor for adding names and properties to unions.
For example, in: