Add circular dependency detection to CI (#7316)

* add circular dependency detection to CI

* fixed Auth-RestWrite circular dependency

* updated package lock

* fixed Logger circular dependency

* fix lint
This commit is contained in:
Manuel
2021-04-08 03:47:57 +02:00
committed by GitHub
parent 0becb0cc9f
commit c56d326b17
9 changed files with 1226 additions and 88 deletions

View File

@@ -5,6 +5,7 @@ import MailAdapter from '../Adapters/Email/MailAdapter';
import rest from '../rest';
import Parse from 'parse/node';
import AccountLockout from '../AccountLockout';
import Config from '../Config';
var RestQuery = require('../RestQuery');
var Auth = require('../Auth');
@@ -14,6 +15,10 @@ export class UserController extends AdaptableController {
super(adapter, appId, options);
}
get config() {
return Config.get(this.appId);
}
validateAdapter(adapter) {
// Allow no adapter
if (!adapter && !this.shouldVerifyEmails) {