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

Fix #1149: clone mode with custom validator tag case. #1154

Merged
merged 5 commits into from
Dec 14, 2024
Merged

Conversation

samchon
Copy link
Owner

@samchon samchon commented Dec 14, 2024

When SDK cloning mode adjusted to a custom validatior tag, @nestia/sdk had generated wrong typed cloning. This PR fixes the bug, by re-composing from the TagBase type.


This pull request includes several updates to package dependencies and introduces a new SdkTypeTagProgrammer module to improve type handling in the SDK. The most important changes include version updates for multiple packages, the addition of the SdkTypeTagProgrammer module, and configuration updates for the clone-tags feature.

Dependency updates:

  • Updated typia dependency from version ^7.2.0 to ^7.3.0 in multiple package.json files across the project. [1] [2] [3] [4] [5] [6] [7]

Version updates:

  • Updated version numbers in package.json files for @nestia/station, @nestia/core, @nestia/fetcher, and @nestia/sdk to 4.2.0-dev.20241215. [1] [2] [3] [4]

SDK improvements:

  • Introduced the SdkTypeTagProgrammer module to handle type tag programming, replacing the previous inline tag handling logic in SdkTypeProgrammer. [1] [2] [3] [4] [5] [6] [7]

Configuration updates for clone-tags feature:

  • Added a new configuration file nestia.config.ts for the clone-tags feature.
  • Added Backend.ts to manage the NestJS application lifecycle for clone-tags.
  • Added type re-exports for HttpError, IConnection, Primitive, and Resolved in the clone-tags API. [1] [2] [3] [4]

When SDK cloning mode adjusted to a custom validatior tag, `@nestia/sdk` had generated wrong typed cloning. This PR fixes the bug, by re-composing from the `TagBase` type.
@samchon samchon added bug Something isn't working enhancement New feature or request labels Dec 14, 2024
@samchon samchon self-assigned this Dec 14, 2024
Copy link

socket-security bot commented Dec 14, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 5.1 kB types
npm/@types/[email protected] None +3 2.39 MB types
npm/@types/[email protected] None +1 2.1 MB types
npm/@types/[email protected] None 0 6.74 kB types
npm/@types/[email protected] None +2 2.39 MB types
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +118 16.2 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +111 13 MB jameshenry
npm/[email protected] environment, filesystem, shell 0 174 kB abetomo
npm/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +118 14.3 MB gund
npm/[email protected] Transitive: environment, eval, filesystem, unsafe +47 6.76 MB eomm
npm/[email protected] shell 0 19.4 kB oseymen
npm/[email protected] Transitive: environment, filesystem, shell +49 2.84 MB sboudrias
npm/[email protected] filesystem 0 17.3 kB isaacs
npm/[email protected] Transitive: environment, filesystem, shell +5 1.17 MB flosse
npm/[email protected] None 0 1.53 MB nonara
npm/[email protected] eval, filesystem, unsafe 0 220 kB dominik_g
npm/[email protected] environment, filesystem, unsafe +2 454 kB jonaskello
npm/[email protected] None 0 123 kB ctavan

🚮 Removed packages: npm/@nestjs/[email protected], npm/@nestjs/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test OK

@samchon samchon merged commit 0462414 into master Dec 14, 2024
6 checks passed
@samchon samchon deleted the feat/tags branch December 14, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant