Open keletsomolefe opened 1 week ago
Are you already using Platformatic DB?
Could you include a repository to reproduce?
Was trying to create a reproduce only to find out that when i pass below config, where i mention auth.ts it fails, but if i remove the specific file mention it works fine
BREAKS
...
"plugins": {
"typescript": true,
"paths": [
{
"path": "./plugins/auth.ts",
"encapsulate": false
}
]
}
...
WORKS
...
"plugins": {
"typescript": true,
"paths": [
{
"path": "./plugins",
"encapsulate": false
}
]
}
...
{"statusCode":500,"error":"Internal Server Error","message":"request.setupDBAuthorizationUser is not a function"}