Skip to content

Commit b8091a7

Browse files
Update @techmmunity/symbiosis (#34)
1 parent c2ebb4a commit b8091a7

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@techmmunity/symbiosis-dynamodb",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"license": "Apache-2.0",
@@ -28,7 +28,7 @@
2828
"techmmunity-symbiosis"
2929
],
3030
"peerDependencies": {
31-
"@techmmunity/symbiosis": "^0.0.17",
31+
"@techmmunity/symbiosis": "^0.0.18",
3232
"reflect-metadata": "^0.1.13"
3333
},
3434
"dependencies": {
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"@techmmunity/eslint-config": "^5.0.1",
41-
"@techmmunity/symbiosis": "^0.0.17",
41+
"@techmmunity/symbiosis": "^0.0.18",
4242
"@types/jest": "^27.0.1",
4343
"@vercel/ncc": "^0.31.1",
4444
"eslint": "^7.32.0",

src/lib/repository/index.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ export class Repository<Entity> extends BaseRepository<
3838
ColumnExtraMetadata,
3939
IndexExtraMetadata
4040
> {
41-
/**
42-
* Used in the "context" parameter
43-
*/
44-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
45-
//@ts-ignore
46-
private readonly tableName: string;
47-
4841
public constructor(
4942
/**
5043
* Used in the "context" parameter
@@ -61,10 +54,6 @@ export class Repository<Entity> extends BaseRepository<
6154
entity: Entity,
6255
) {
6356
super(entityManager, logger, entity);
64-
65-
const entityMetadata = this.entityManager.getEntityMetadata(entity);
66-
67-
this.tableName = entityMetadata.databaseName;
6857
}
6958

7059
/**

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,10 +1230,10 @@
12301230
eslint-plugin-sonarjs "^0.10.0"
12311231
typescript "^4.2.4"
12321232

1233-
"@techmmunity/symbiosis@^0.0.17":
1234-
version "0.0.17"
1235-
resolved "https://registry.yarnpkg.com/@techmmunity/symbiosis/-/symbiosis-0.0.17.tgz#aeb3d0eb3b009e4e3e6f869bb4ddfc02152154af"
1236-
integrity sha512-M6I7zrgV2WSeMTrC8csq6ELEsvFpzW30JNmF8e2Tt4L1ZPReU8PViufRyb94Gka2dN/MPUNq08LDoJtkJnMsWQ==
1233+
"@techmmunity/symbiosis@^0.0.18":
1234+
version "0.0.18"
1235+
resolved "https://registry.yarnpkg.com/@techmmunity/symbiosis/-/symbiosis-0.0.18.tgz#806070c92033901f15f1a9bfd56e33aa2e58c241"
1236+
integrity sha512-ckaosAaZV9OTQv19HV2A0+JYRkaiEE2sftdukJKP8vNvDWZ1tV8jXSUghBcs3nBCNFYwUn7cTDUbUKNjZL+O2Q==
12371237
dependencies:
12381238
"@techmmunity/utils" "^1.1.0"
12391239
change-case "^4.1.2"

0 commit comments

Comments
 (0)