zookzook/yildun

Map with embedded structs

sarat1669 opened this issue · 1 comments

Can maps be supported?

{:map, String.t(), Connection}

Where key is a string and value is Connection struct

Yes, it does, but you need to write your own dump/load function to support the map. Checks the documentation or look at board.ex or issue.ex as an example.