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

API Import generate questions #4081

Open
tyronechan294 opened this issue Apr 17, 2024 · 6 comments
Open

API Import generate questions #4081

tyronechan294 opened this issue Apr 17, 2024 · 6 comments

Comments

@tyronechan294
Copy link

When I import external objects according to the document case, when importing external objects is used in multiple places, multiple objects with the same name will be generated when generating code.

Please optimize and ignore objects with the same name.

在我根据文档案例进行导入外部对象的时,当有多个地方用到导入外部对象,在生成代码的时候,会生成多个同名的对象。

请优化,对同名对象进行忽略

@tyronechan294
Copy link
Author

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


https://go-zero.dev/docs/tutorials/api/import

@tyronechan294
Copy link
Author

tyronechan294 commented Apr 17, 2024

截屏2024-04-17 下午5 11 53 截屏2024-04-17 下午5 13 00 截屏2024-04-17 下午5 13 19 截屏2024-04-17 下午5 13 10 截屏2024-04-17 下午5 13 47

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Screenshot 2024-04-17 5 11 53 PM

Screenshot 2024-04-17 5 13 00 PM

-zero/assets/106304984/a96ad1ef-afd1-4cb7-914d-712e6022fec3">

Screenshot 2024-04-17 PM 5 13 10

@kesonan
Copy link
Collaborator

kesonan commented Apr 25, 2024

pls see #3988

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


pls see #3988

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

No branches or pull requests

3 participants