Marshal icon indicating copy to clipboard operation
Marshal copied to clipboard

Simplify Marshal using new Swift features

Open olejnjak opened this issue 5 years ago • 1 comments

Hi,

I was wondering whether it would be possible to simplify Marshal implementation using new Swift features like conditional protocol conformance. This would also simplify creating 3rd party extensions above Marshal.

This would e.g. allow [ValueType] to conform ValueType so lot of code could be then reused/deleted.

I'm open to implementing it but don't wanna waste time on something that wouldn't have a chance to be merged.

Thanks

olejnjak avatar Jan 23 '19 10:01 olejnjak

I like the idea of reducing duplicated code.

bwhiteley avatar Apr 02 '19 05:04 bwhiteley