ldanko / easyfix

MIT License
3 stars 7 forks source link

Return error when serializing empty `Vec<_>` #4

Open ldanko opened 2 years ago

ldanko commented 2 years ago

FIX expects to that all tags has value. When serializing required field with empty Vec<_> (like in empty group or string), serialization error should be reported.

Decide what to do with optional tags. Whether treat Some(vec![]) as None or return error.