Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-IshTypeFieldDefinition shows superfluous values on MM property which only show IsMandatory and IsMultiValue #111

Closed
OlegTokar opened this issue Feb 18, 2021 · 0 comments
Labels
Milestone

Comments

@OlegTokar
Copy link
Contributor

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

@ddemeyer ddemeyer added the bug label Feb 18, 2021
@ddemeyer ddemeyer added this to the v0.13 milestone Feb 18, 2021
@ddemeyer 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants