Darren
04/02/2020, 6:11 PMdefine(["require", "exports", "N/log", "../services/service-factory", "reflect-metadata"], function (require, exports, log, service_factory_1)
where "reflect-metadata"
cannot be found, as it's not a relative url.
I'm not sure how to reference the global UMD module and get it all working in Netsuitebattk
04/02/2020, 6:14 PMbattk
04/02/2020, 6:15 PMbattk
04/02/2020, 6:20 PMstalbert
04/02/2020, 6:22 PMbattk
04/02/2020, 6:23 PMDarren
04/02/2020, 6:24 PMI'm curious as to the motivation for DI in your suitescript? unit testing or ?@stalbert hi stalbert, yeah for unit testing but also ease of managing dependencies between all the services and mappers
Darren
04/02/2020, 6:25 PMid like to add that suitescript 2.0 is the opposite of a modern JavaScript environment@battk Agreed, that's why I use typescript and transpile down to EMCAScript 5.1
stalbert
04/02/2020, 6:25 PMDarren
04/02/2020, 6:27 PMstalbert
04/02/2020, 6:27 PMstalbert
04/02/2020, 6:27 PMstalbert
04/02/2020, 6:28 PMDarren
04/02/2020, 6:30 PM