0
使用神奇的Breeze Typescript Entity Generator tool但一直得到錯誤微風打字稿工具
Error: Unable to locate the default implementation of the 'modelLibrary' interface. Possible options are 'ko', 'backingStore' or 'backbone'. See the breeze.config.initializeAdapterInstances method.
錯誤是在這一行TSGEN-core.js發生:
var metadataStore = breeze.MetadataStore.importMetadata(metadata);
我相信這是抓住了元數據精細。看起來我應該使用interfaceAdapter配置breeze,但在使用它導入此工具的importMetadata之前,repo中的示例沒有在微風中配置任何東西。