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
// index.jsconsttracer=require('dd-trace').init({debug: true});constgraphql=require('graphql');// Instrumented module "graphql/language/parser.js" was imported before calling tracer.init(). Please make sure to initialize the tracer before importing any instrumented module.// Instrumented module "graphql/execution/execute.js" was imported before calling tracer.init(). Please make sure to initialize the tracer before importing any instrumented module.
node 8.9.4
edit: it actually hooked correctly despite the warnings, execution was failing because of #173
The text was updated successfully, but these errors were encountered:
This seems to be related to the fact that the module is required in require-in-the-middle before the plugin is patched. While this is the expected behavior, the current validation assumes this is not the case, causing the warning. You can safely ignore the warning for now, and this will be fixed in a future version by putting the validation earlier in the initialization process.
馃憢,
Unless i'm mistaking, the following should work:
node 8.9.4
edit: it actually hooked correctly despite the warnings, execution was failing because of #173
The text was updated successfully, but these errors were encountered: