-
Notifications
You must be signed in to change notification settings - Fork 243
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
[http-server-csharp] Placeholder
is generated
#5226
Comments
Its corresponding interface is generating |
Cannot repro this issue. Appears to be fixed in my branch, at least |
the issue is still there: https://github.com/allenjzhang/typespec-e2e-demo/blob/2abc70f27d1e5344ce286462fa77ab887abbc228/todoApp/servers/aspnet/generated/controllers/AttachmentsOperationsControllerBase.cs#L25 |
Apparently, this Placeholder is written here:
this line might be called every time it has an anonymous model - and in this project there happens to have one: https://github.com/allenjzhang/typespec-e2e-demo/blob/2abc70f27d1e5344ce286462fa77ab887abbc228/todoApp/servers/aspnet/generated/models/Model0.cs |
The reason you cannot reproduce might be you have the |
Yeah, this was fixed in my branch when you filed this issue i. All fixes in this PR: #5417 Generated code here: allenjzhang/typespec-e2e-demo#47 |
For todoApp, there is another
Placeholder
generated:I think this is generated from:
I am not sure where it goes wrong from the spec which looks nothing special comparing with others in this spec.
The text was updated successfully, but these errors were encountered: