Lomashko Yuri
Lomashko Yuri
So, how should it look like if i have `IEvents` with generic types? For example: ```ts interface IEvents { onValueSended: Value; } class MyClass extends (EventEmitter as { new(): StrictEventEmitter...
@krzkaczor I understand, but i need exactly generic for `IEvents` which is taken from `MyClass` and apparently this is impossible.
The sql errors are the same, but for some cases the errors from the driver may differ for different platforms. For example, connection to a non-existent database. For mac the...
> Isn't this your code not handing the promise rejection? Yes, it is our code
This error is thrown by the driver when database is creating
To avoid misunderstandings. We get this error from driver method with `try {...} catch (error) {console.error(error)}` while creating database. We see it in the console: ``` Error: I/O error during...
For connection to non-existing-file `isql` shows correct error message: ``` I/O error during "CreateFile (open)" operation for file "G:\WEB\TEST.FDB" -Error while trying to open file -The system cannot find the...
@punkusha I think you don't need `('addon')` at all
Удалите файл конфигурации `./src/gdmn-back/databases/templates.config.json` и перезапустите gdmn-back, он перегенерируется. Там раньше был массив пустых объектов, сейчас добавлена проверка для конфига на правильность данных и он ее не проходит.
Тип для конфига - массив [этих](https://github.com/gsbelarus/gdmn/blob/master/src/gdmn-back/src/apps/MainApplication.ts#L33) объектов. Проверка конфигурации [здесь](https://github.com/gsbelarus/gdmn/blob/master/src/gdmn-back/src/apps/MainApplication.ts#L135)