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

Allow use of XorTypeAdapter for general Xor types #210

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Conversation

moio
Copy link
Member

@moio moio commented Jul 17, 2017

Currently XorTypeAdapterFactory assumes the left side of the type is always a SaltError - that is currently the case but prevents using more complex Xor types, when returned data from Salt might come in different
'structures'.

This allows XorTypeAdapterFactory to work with any generic Xor type.

@moio
Copy link
Member Author

moio commented Jul 17, 2017

@lucidd swapped sides as per IRC chat. OK to merge?

Copy link
Member

@lucidd lucidd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Currently XorTypeAdapterFactory assumes the left side of the type is
always a SaltError - that is currently the case but prevents using more
complex Xor types, when returned data from Salt might come in different
'structures'.

This allows XorTypeAdapterFactory to work with any generic Xor type.
@moio moio merged commit e932c8a into master Jul 20, 2017
@moio moio deleted the generalize-xor branch July 20, 2017 14:15
@lucidd lucidd modified the milestone: 0.13.0 Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants