You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking how to write a cadl-ranch test for that, I guess we could go:
@visibility("none") do_not_send: "literal value";
I believe today if you put a constant like that, we always send it. If it's visibility none, it shouldn't be in the generated model, and the mockapi could test that it never received it.
Confirmed with @bterlson , if it's
none
, make it go away entirely.I would expect that TCGC does that in a central place, in a way that emitter do not even know it ever existed.
https://github.com/bterlson/typespec-todo/blob/271e2d528ed60e62fbd1c24ed977ed0bc8952fba/main.tsp#L39-L40
The text was updated successfully, but these errors were encountered: