Closed olexu closed 6 years ago
Checked with http://services.odata.org/V4/Northwind/Northwind.svc/$metadata
Entity Category has a NavigationProperty Products with type Collection(NorthwindModel.Product) `
`
But it is converted as Products?: NorthwindModel.Product not Products?: Array
export interface Category { CategoryID: Edm.Int32; CategoryName: Edm.String; Description: Edm.String; Picture: Edm.Binary; Products?: NorthwindModel.Product;}
Updated template: https://github.com/apazureck/odatatools/blob/develop/test/testproject/.vscode/odatatools/templates/proxy.ot It should work now for all types. Thanks for reporting.
Checked with http://services.odata.org/V4/Northwind/Northwind.svc/$metadata
Entity Category has a NavigationProperty Products with type Collection(NorthwindModel.Product) `
`
But it is converted as Products?: NorthwindModel.Product not Products?: Array
export interface Category { CategoryID: Edm.Int32; CategoryName: Edm.String; Description: Edm.String; Picture: Edm.Binary; Products?: NorthwindModel.Product;}