Skip to content

Fix the reserved word issue in Modular for API layer #3191

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

Merged
merged 14 commits into from
May 21, 2025

Conversation

v-jiaodi
Copy link
Member

@v-jiaodi v-jiaodi commented May 12, 2025

fixes #3192

@MaryGao MaryGao changed the title Test help mgmt smoke Fix the reserved word issue in Modular May 13, 2025
@MaryGao MaryGao changed the title Fix the reserved word issue in Modular Fix the reserved word issue in Modular for API layer May 13, 2025
);
expect(normalizeName("break", NameType.Method, true)).to.equal(
"$break"
);
Copy link
Member

@MaryGao MaryGao May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@v-jiaodi

  • pls help add more UTs in rlc-common.
  • Also include UTs in classical client and api operations.
  • Also add one test case in smoke.
  • Help verify the list among our reserved words and spector operations and help add missing cases in spector

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add missing cases in spector : microsoft/typespec#7413

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could @v-jiaodi try to enableOperationGroup as false to see if it works for special words case?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qiaozha we would have generation issue then and create an issue to track this #3206!

@MaryGao MaryGao marked this pull request as ready for review May 20, 2025 05:57
@MaryGao MaryGao requested review from joheredi and qiaozha as code owners May 20, 2025 05:57
Copy link
Member

@MaryGao MaryGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaryGao MaryGao merged commit cd7f62a into Azure:main May 21, 2025
17 checks passed
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.

Handle the reserved word 'continue' in operations has not been implemented
3 participants