func (reg *TypeRegistry) CreateInlineType(name string) *gen.ObjectDataType {
	goName := toGoTypeName(name)
	obj := gen.ObjectDataType{TypeName: goName}
	reg.InlineTypes[goName] = append(reg.InlineTypes[goName], &obj)
	return &obj
}
func (reg *TypeRegistry) CreateInlineType(name string) *gen.ObjectDataType {
	goName := toGoTypeName(name)
	obj := gen.ObjectDataType{TypeName: goName}
	reg.InlineTypes[goName] = append(reg.InlineTypes[goName], &obj)
	return &obj
}
// CreateInlineType creates a new inline type.