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
model Foo {
// omit other properties
@flattenProperty
properties?: FooProperties;
}
model FooProperties {
profile?: SinglePropertyModel;
other?: string;
}
model SinglePropertyModel {
single?: string;
}
In this case, we first flatten the properties property, then flatten the singlePropertyModel.
The model factory of this model should have this signature:
public static Foo Foo(string profileSingle = default, string other = default)
The signature is correct, but the implementation is not properly "unflatten" the safe-flattened property back.