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

Contradictory Options #125

Open
dragos-rosca opened this issue Nov 10, 2023 · 0 comments
Open

Contradictory Options #125

dragos-rosca opened this issue Nov 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dragos-rosca
Copy link
Contributor

dragos-rosca commented Nov 10, 2023

const { tenantContextAccessor } = require("@totalsoft/multitenancy-core");

[attributeNames.tenantId]: tenantContextAccessor.getTenantContext()?.tenant?.id

<%_ if(withMultiTenancy) {_%>
"object-path": "^0.11.8",
"@totalsoft/multitenancy-core": "^1.1.0",
"@totalsoft/pino-multitenancy": "^1.2.0",
<%_}_%>

Choosing the options:
"withMultiTenancy": false
"addTracing": true
results in an error. As you can see the tracingPublish.js file imports a library that is omitted when the multi tenancy option is refused.

@dragos-rosca dragos-rosca added the bug Something isn't working label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant