bbarker/bevy_serde_macros

Remove the need to have a type list macro

bbarker opened this issue · 0 comments

Ideally this would be achieved by passing in a composite type, such as a tuple or nested 2-tuple of types. A suggestion from Eritheari on bevy discord:

I think you can make a macro that creates a type like A<B,<C,<D, ...>>> and then use this type to serialize everything instead of writing the whole thing down in a macro every time.

TODO

list previous efforts along these lines in this issue. I think I tried and failed with n-tuples, but not sure I tried nested 2-tuples.