FilterVisibility
#11034
Replies: 2 comments 4 replies
-
|
Looks like something we missed, also applies to MergePatchUpdate, can you file an issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Sure, #11036. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I upgraded to 1.13.0 and tried to apply the new
FilterVisibilitytype:The resulting spec is somewhat surprising to me:
That is,
Createlifecycle is applied to explicit portion ofUsermodel, and inherited properties go on without visibility filter.Is this the expected behavior?
Then, I made
Usermodel to read:and encounter the compilation error:
error @typespec/openapi/duplicate-type-name Duplicate type name: 'User'. Check @friendlyName decorators and overlap with types in TypeSpec or service namespace..Wonder what is the cause of the (rather unexpeced) error?
TIA
Beta Was this translation helpful? Give feedback.
All reactions