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(pilota-build): global_path unable to add prefix for nested type #288

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

PureWhiteWu
Copy link
Member

Motivation

The global_path method is used by volo-build to generate the default service impl template, but it's unable to add the prefix to nested types because the path is generated inside this method itself.

Solution

Add a adt_prefix param and generate the correct string inside this method.

@PureWhiteWu PureWhiteWu added A-pilota-build This issue concerns the `pilota-build` crate. C-bug This is a bug-report. Bug-fix PRs use `C-enhancement` instead. labels Nov 6, 2024
@PureWhiteWu PureWhiteWu self-assigned this Nov 6, 2024
@PureWhiteWu PureWhiteWu requested review from a team as code owners November 6, 2024 13:17
@PureWhiteWu PureWhiteWu merged commit 840e45a into main Nov 6, 2024
10 checks passed
@PureWhiteWu PureWhiteWu deleted the fix/global_path branch November 6, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-pilota-build This issue concerns the `pilota-build` crate. C-bug This is a bug-report. Bug-fix PRs use `C-enhancement` instead.
Development

Successfully merging this pull request may close these issues.

2 participants