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

#145 Feat: AutoMapperSerializer - add types for to object method #146

Conversation

hikinine
Copy link
Contributor

reference issue

Fix|Change|Update

This pull request aims to solve the problem of inferring the correct types in the toObject method
implementing a serializer at type checking level without break changes.

The only change made at runtime is that toObject returns a deepReadonly object

#issue #145
Resolves #145

4lessandrodev and others added 11 commits April 13, 2024 23:44
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.5 to 20.12.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.4 to 5.4.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.4.4...v5.4.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…m_and_yarn/typescript-5.4.5

chore(deps-dev): bump typescript from 5.4.4 to 5.4.5
…m_and_yarn/types/node-20.12.7

chore(deps-dev): bump @types/node from 20.12.5 to 20.12.7
…IEntity, IValueObject, IAutoMapper signatures
@hikinine
Copy link
Contributor Author

My bad
I just noticed that my auto-eslint changed some import module order and indentation

@4lessandrodev 4lessandrodev changed the base branch from main to develop April 18, 2024 18:36
@4lessandrodev 4lessandrodev merged commit 6524ba2 into 4lessandrodev:develop Apr 18, 2024
1 check passed
@4lessandrodev 4lessandrodev mentioned this pull request Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Types for (entity | valueObject) "toObject" method
2 participants