Results 131 comments of Davide Icardi

Hi @AntoniusGolly . I have the same requirements, creating a data source that point to an external defined lambda. Did you ever solved this problem?

My lambda is defined by another service, outside of the SST app. I have managed to solve this using the following code: ``` const api = new sst.AppSyncApi(this, "lab-AppSyncApi", {...

@ylc395 Yes agree, it could be an option.

Thank you @aacotroneo for investigation. I also don't have any idea for now. It is probably some errors in the context configuration. Can be something related to https://stackoverflow.com/questions/59009214/some-properties-of-the-global-instance-are-not-copied-by-spread-operator-or-by-o ? This...

@aacotroneo I have found some errors in the code that define the sandbox's globals, see #63 . Now `console.log('this is inside simpleCode', new Object().constructor === Object, ({}).constructor === Object)` is...

@jamesgibson14 Can you try with the branch of #63 ? (or I can publish a new version if you prefer ...) I suspect that at least this problem should be...

Thanks for the feedback. Very strange error... I see that the exception is generated when requiring `mathjs`. I suspect that `mathjs` uses some low level feature that is not available...

@taoyuan Thanks for the feedback. I'm not sure why this happen. I think it is something that I don't do right here: https://github.com/davideicardi/live-plugin-manager/blob/master/src/PluginVm.ts#L385 Maybe related to https://stackoverflow.com/questions/59009214/some-properties-of-the-global-instance-are-not-copied-by-spread-operator-or-by-o Any other help...

Maybe we can solve this issue using #52 ?