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

Support change model namespace with custom code #4261

Closed
m-nash opened this issue Aug 26, 2024 · 0 comments · Fixed by #4285
Closed

Support change model namespace with custom code #4261

m-nash opened this issue Aug 26, 2024 · 0 comments · Fixed by #4285
Assignees
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@m-nash
Copy link
Member

m-nash commented Aug 26, 2024

Support

namespace New.Namespace;

[CodeGenModel("OriginalName")]
public partial class OriginalName{}
@m-nash m-nash added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Aug 26, 2024
@microsoft microsoft deleted a comment Aug 26, 2024
@ArcturusZhang ArcturusZhang self-assigned this Aug 28, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 4, 2024
Fixes #4256 
Fixes #4261

In order to get our mocking system working properly and make everything
aligned, I changed the `SourceInputModel` to public and added it to the
`CodeModelPlugin` so that our plugin writers could override something on
it to do some advanced stuffs
sarangan12 pushed a commit to sarangan12/typespec that referenced this issue Sep 16, 2024
Fixes microsoft#4256 
Fixes microsoft#4261

In order to get our mocking system working properly and make everything
aligned, I changed the `SourceInputModel` to public and added it to the
`CodeModelPlugin` so that our plugin writers could override something on
it to do some advanced stuffs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants