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

Upgrade tcgc to ignore error model generation in MPG if it is not referenced #2934

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

v-jiaodi
Copy link
Member

@v-jiaodi v-jiaodi commented Nov 29, 2024

fixes #2917

@MaryGao MaryGao marked this pull request as ready for review December 4, 2024 03:11
@MaryGao MaryGao changed the title Upgrade tcgc and add ut case for error models in MPG if it is not referenced Upgrade tcgc to ignore error model generation in MPG if it is not referenced Dec 4, 2024
@MaryGao MaryGao merged commit a94e7ee into Azure:main Dec 5, 2024
15 checks passed
@qiaozha
Copy link
Member

qiaozha commented Dec 5, 2024

@MaryGao have we reviewed the breaking between HLC and Modular for this?

@MaryGao
Copy link
Member

MaryGao commented Dec 5, 2024

@qiaozha The pr is to remove the orphan error models which we agreed to not generate them as a decision during MPG release. But let me know if we need to revisit this decision.

But in modular we are lack of ability to serialize the non-success error responses but we can do this in HLC. I will create another issue to track this. Personally I prefer to mitigate this not accept.

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

Successfully merging this pull request may close these issues.

Do not generate error response model in MPG if it is not referenced
3 participants