Skip to content

fix(volo-build): not add vologen prefix for method arguments type with rust type kind#520

Merged
PureWhiteWu merged 4 commits intomainfrom
fix/not_use_volo_gen_prefix_for_rust_type
Nov 5, 2024
Merged

fix(volo-build): not add vologen prefix for method arguments type with rust type kind#520
PureWhiteWu merged 4 commits intomainfrom
fix/not_use_volo_gen_prefix_for_rust_type

Conversation

@Ggiggle
Copy link
Copy Markdown
Contributor

@Ggiggle Ggiggle commented Nov 5, 2024

Motivation

Referred to #515, when using the rust basic type or predefined types in the volo framework ecosystem as the method arguments, the vologen prefix would be incorrect to add here.

Solution

Only the type defined in idl, which type kind is the path kind, will need this vologen prefix, so we will use this to decide whether to add this prefix.

@Ggiggle Ggiggle requested review from a team as code owners November 5, 2024 05:16
Millione
Millione previously approved these changes Nov 5, 2024
@Ggiggle Ggiggle force-pushed the fix/not_use_volo_gen_prefix_for_rust_type branch from e4a6d0e to 2956e5d Compare November 5, 2024 06:41
@PureWhiteWu PureWhiteWu merged commit effeaff into main Nov 5, 2024
@PureWhiteWu PureWhiteWu deleted the fix/not_use_volo_gen_prefix_for_rust_type branch November 5, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants