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
ddemeyer
changed the title
IshTypeFieldDefinition: MM property should only be about IsMandatory and IsMultiValue
Get-IshTypeFieldDefinition shows superfluous values on MM property which only show IsMandatory and IsMultiValue
Feb 18, 2021
Adapt
public string MM { get { StringBuilder mm = new StringBuilder(); mm.Append(IsMandatory ? 'M' : '-'); mm.Append(IsMultiValue ? 'n' : '1'); mm.Append(AllowOnUpdate ? 'U' : '-'); mm.Append(AllowOnSearch ? 'S' : '-'); return mm.ToString(); } }
to
public string MM { get { StringBuilder mm = new StringBuilder(); mm.Append(IsMandatory ? 'M' : '-'); mm.Append(IsMultiValue ? 'n' : '1'); return mm.ToString(); } }
Add check in Pester for the Get-IshTypeFieldDefinition that MM length is 2
The text was updated successfully, but these errors were encountered: