You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import the module in an Electron application with a recommended Content Security Policy of script-src 'self' but it prevents loading of the module with the error below.
It loads if I add 'unsafe-eval' to the policy, but I get reminded of the security risk.
Is there a way around this or should an Electron application use the dgraph-js-http package instead? I've read in this blog post that "For many use cases, the difference in performance is negligible".
Would that apply to an Electron application using a single Dgraph instance locally?