Anyone have a guess as to what would happen if two custom modules both imported each other?
j
jkabot
03/16/2020, 2:34 PM
You generally want to avoid organizing code in away that produces circular dependencies, but NetSuite is using RequireJS, which has this to say on the subject
https://requirejs.org/docs/api.html#circular
a
aaron_tekton
03/16/2020, 3:52 PM
Well, that’s always true. I ask in the event that someone just makes a very human mistake.