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

Support copying prototype metadata in the mapping #644

Merged
merged 22 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7421e4a
- Added support for instantiation of an object in the transformation.
etiennenoel Jan 17, 2024
7f493c6
- Very early draft of starting the data-mapping tree structure instea…
etiennenoel Jan 18, 2024
a9b8ced
- Continuing progress.
etiennenoel Jan 18, 2024
3808695
- Added the tests that ensures that the tree is properly built.
etiennenoel Jan 18, 2024
e20df00
- Updated the naming from 'transformer' to 'mapping'
etiennenoel Jan 18, 2024
b21888d
- Continued improvements.
etiennenoel Jan 18, 2024
f4c1669
- Testing the final validation.
etiennenoel Jan 18, 2024
ab1cf13
- Added support for instantiation of an object in the transformation.
etiennenoel Jan 17, 2024
c9613ca
- Very early draft of starting the data-mapping tree structure instea…
etiennenoel Jan 18, 2024
7ef74d3
- Continuing progress.
etiennenoel Jan 18, 2024
6356e87
- Added the tests that ensures that the tree is properly built.
etiennenoel Jan 18, 2024
0e031fb
- Updated the naming from 'transformer' to 'mapping'
etiennenoel Jan 18, 2024
0bf454f
- Continued improvements.
etiennenoel Jan 18, 2024
199f8d6
- Testing the final validation.
etiennenoel Jan 18, 2024
13f38e6
Merge branch 'support-copying-prototype-metadata-in-the-mapping' of h…
etiennenoel Jan 19, 2024
a1cc747
- Updated the missing tests.
etiennenoel Jan 19, 2024
e0a7592
- Renamed to mapping
etiennenoel Jan 19, 2024
5b78196
- Update.
etiennenoel Jan 19, 2024
03a8bd4
- Update.
etiennenoel Jan 19, 2024
0902c14
Update.
etiennenoel Jan 19, 2024
049963d
Merge branch 'support-copying-prototype-metadata-in-the-mapping' of g…
etiennenoel Jan 19, 2024
e68e7f7
- Update the name.
etiennenoel Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@pristine-ts/common": "file:packages/common",
"@pristine-ts/configuration": "file:packages/configuration",
"@pristine-ts/core": "file:packages/core",
"@pristine-ts/data-transformer": "file:packages/data-transformer",
"@pristine-ts/data-mapping": "file:packages/data-mapping",
"@pristine-ts/e2e": "file:tests/e2e",
"@pristine-ts/express": "file:packages/express",
"@pristine-ts/file": "file:packages/file",
Expand Down
231 changes: 231 additions & 0 deletions packages/data-mapping/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@pristine-ts/data-transformer",
"name": "@pristine-ts/data-mapper",
"version": "0.0.276",
"description": "",
"module": "dist/lib/esm/data-transformer.module.js",
"main": "dist/lib/cjs/data-transformer.module.js",
"types": "dist/types/data-transformer.module.d.ts",
"module": "dist/lib/esm/data-mapper.module.js",
"main": "dist/lib/cjs/data-mapper.module.js",
"types": "dist/types/data-mapper.module.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json",
"prepublish": "npm run build",
Expand All @@ -21,7 +21,11 @@
},
"dependencies": {
"@pristine-ts/common": "file:../common",
"@pristine-ts/logging": "file:../logging"
"@pristine-ts/logging": "file:../logging",
"@pristine-ts/metadata": "~1.0.2",
"@pristine-ts/class-validator": "^1.0.22",
"class-transformer": "^0.5.1",
"tsyringe": "^4.8.0"
},
"jest": {
"transform": {
Expand Down
1 change: 1 addition & 0 deletions packages/data-mapping/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Data Mapping module.
etiennenoel marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions packages/data-mapping/src/builders/builders.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./data-mapping.builder";
Loading
Loading