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
When a ExpandFlattenDescriptor is constructed for ComplexObject or ComplexArrayObject sdk fields, the @func_name is deduced from the go_type_name of those fields.
Since go_type_name has ambiguous meanings when applied to ComplexObject (which indicates the type of this complex object, i.e. struct type) and ComplexArrayObject (which indicates the type of element type). In some case, these go_type_name(s) might be same. However since their properties are different, magic module will generate expand/flatten function for both of them, with same name. This will introduce redeclaration error in generated code.