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

Add merge support for PSCustomObject (and array of..) #28

Closed
gaelcolas opened this issue Jan 23, 2018 · 1 comment
Closed

Add merge support for PSCustomObject (and array of..) #28

gaelcolas opened this issue Jan 23, 2018 · 1 comment
Labels
Milestone

Comments

@gaelcolas
Copy link
Owner

The current version only supports merging Hashtable, array of hashtables, and basic types.
PSCustomObjects or arrays of PSCustomObjects would throw an exception or silently ignore the required merges.

This is making impossible to merge data that spans across files (as a File/Folder objects returns PSCustomObject by the Datum File Provider), so you can't split a Role as a folder with keys as Files.

The Merged data should be a hashtable, ready to be used for splatting.

@gaelcolas gaelcolas added the bug label Jan 23, 2018
@gaelcolas gaelcolas added this to the v1.0 milestone Jan 23, 2018
@gaelcolas
Copy link
Owner Author

As everything is now casted to an ordered Hashtable, that is 'fixed'

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

1 participant