jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
497 stars 50 forks source link

Add implicit operator to Union types #415

Closed parched closed 4 months ago

parched commented 8 months ago

This is one of the changes we have in the fork we're using at our company.

If you're happy to accept a change like this. I'll tidy it up a bit and add tests where necessary.

jamescourtney commented 8 months ago

Thanks for the contribution! Definitely happy to have the conversion that goes from Type -> Union. A couple of tests here and I'll be happy to approve!

parched commented 4 months ago

Closing in favour of #438