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

[RLC & Moduler] Handle the empty object type in tsp compiler #1843

Closed
MaryGao opened this issue May 12, 2023 · 1 comment
Closed

[RLC & Moduler] Handle the empty object type in tsp compiler #1843

MaryGao opened this issue May 12, 2023 · 1 comment
Assignees

Comments

@MaryGao
Copy link
Contributor

MaryGao commented May 12, 2023

In tsp compiler we have an empty model, we need to decide on how to support this in both RLC and moduler SDK.

/**
 * Represent any structured model.(With properties)
 */
model object {}

Eventgrid has referenced this type: https://github.com/Azure/autorest.typescript/blob/main/packages/typespec-test/test/eventgrid_modular/spec/main.tsp#L62.

Also customer could define empty model and we should support them.

@qiaozha qiaozha self-assigned this May 17, 2023
@MaryGao
Copy link
Contributor Author

MaryGao commented Jun 13, 2023

object is deprecated so we don't need to support and empty model is already supported in here: #1875.

@MaryGao MaryGao closed this as completed Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants