Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

mapstructure doesn't respect omitempty #9

Open
mfridman opened this issue May 27, 2018 · 0 comments
Open

mapstructure doesn't respect omitempty #9

mfridman opened this issue May 27, 2018 · 0 comments

Comments

@mfridman
Copy link
Owner

This results in mappedOutbox (and thus Outbox) to contain UserID and UserFaxNumber fields when OutboxOptions.IncludeSubUsers is not set.

Also affects mappedInbox.

The intended functionality should be inline with the official docs

If sIncludeSubUsers is set to "Y" then two additional variables are returned in the array
User_ID => Integer
User_FaxNumber => String(20)

This could be the intended behaviour of mapstructure pkg, needs further investigation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant