Skip to content

feat(transpiler): enhance transpiler with importName and typeIdentifiers#331

Merged
Yilun-Sun merged 1 commit intomainfrom
feature/php-doc-transpiler-improvements
Jul 25, 2025
Merged

feat(transpiler): enhance transpiler with importName and typeIdentifiers#331
Yilun-Sun merged 1 commit intomainfrom
feature/php-doc-transpiler-improvements

Conversation

@Yilun-Sun
Copy link
Copy Markdown
Contributor

@Yilun-Sun Yilun-Sun commented Jul 24, 2025

  • Added importName and typeIdentifiers to the nameNodePathResolver return type.
  • Updated logic to handle external types and generate import statements accordingly.
  • Improved type reference creation to support qualified names for multiple identifiers.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

Other information

@Yilun-Sun Yilun-Sun force-pushed the feature/php-doc-transpiler-improvements branch from 5783d04 to b96847e Compare July 24, 2025 05:07
@Yilun-Sun Yilun-Sun requested a review from rainx July 24, 2025 08:05
@Yilun-Sun Yilun-Sun changed the title feat: enhance PhpDocTypeNodeToTypescriptTypeNodeTranspiler with importName and typeIdentifiers feat(enhancement): enhance transpiler with importName and typeIdentifiers Jul 25, 2025
@Yilun-Sun Yilun-Sun force-pushed the feature/php-doc-transpiler-improvements branch 2 times, most recently from 1fd263e to 71ee235 Compare July 25, 2025 01:54
@Yilun-Sun Yilun-Sun changed the title feat(enhancement): enhance transpiler with importName and typeIdentifiers enhancement: enhance transpiler with importName and typeIdentifiers Jul 25, 2025
@Yilun-Sun Yilun-Sun changed the title enhancement: enhance transpiler with importName and typeIdentifiers feat(transpiler): enhance transpiler with importName and typeIdentifiers Jul 25, 2025
@Yilun-Sun Yilun-Sun added the enhancement Enhancement of the code, not introducing new features. label Jul 25, 2025
@Yilun-Sun Yilun-Sun force-pushed the feature/php-doc-transpiler-improvements branch from 71ee235 to b524c39 Compare July 25, 2025 02:00
…tName and typeIdentifiers

- Added importName and typeIdentifiers to the nameNodePathResolver return type.
- Updated logic to handle external types and generate import statements accordingly.
- Improved type reference creation to support qualified names for multiple identifiers.
@Yilun-Sun Yilun-Sun force-pushed the feature/php-doc-transpiler-improvements branch from b524c39 to a94aa34 Compare July 25, 2025 03:14
@Yilun-Sun Yilun-Sun merged commit 071e5ed into main Jul 25, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement of the code, not introducing new features.

Development

Successfully merging this pull request may close these issues.

1 participant