Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: critical error in Application.loadModule #197

Open
georgolden opened this issue Sep 8, 2021 · 0 comments
Open

Bug: critical error in Application.loadModule #197

georgolden opened this issue Sep 8, 2021 · 0 comments

Comments

@georgolden
Copy link

Application.loadModule method loads module trees wrong.
Logs Application.sandbox.lib:

2021-09-08T10:04:10     {
  example: [Function: bound method] {
    cache: { set: [Function: bound set], get: [Function: bound get] },
    doSomething: [Function: bound ],
    start: [Function: bound method] AsyncFunction,
    stop: [Function: bound ] AsyncFunction,
    storage: [Function: bound method],
    submodule1: [Function: bound ] { method2: [Function: bound ] },
    submodule2: [Function: bound ] {
      method2: [Function: bound ],
      nested1: [Function: bound ]
    },
    submodule3: [Function: bound ]
  },
  pg: [Function: bound Database] {
    constants: {},
    updates: [Function: bound ],
    where: [Function: bound ]
  },
  resmon: [Function: bound ] { start: [Function: bound ] AsyncFunction },
  utils: [Function: bound ]
}

This happens because submodule case partially ignored in current implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant