Results 266 comments of Lauris BH

Yeah I have seen them but they are useful in cases where bool can acutally be nil, true, false. In TMX bool can not be xml:nil, it will be either...

Other point for not using `*bool` is that we will need to check if value is true anyway to not write value equal to default value to output. I don't...

Just leave it open, I will work on this later on to what I have more free time

Default values are defined in TMX file specification and are not dependant on editor. See https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#text

Yes, if any default is missing we should update it as per TMX specification

We could create interface with method `func WithDefaults(interface{} obj)` to get object with defaults that could be implemented in separate file for all types and thus called in unmarshal and...

I also agree that pointer types for primitives complicates api usage

Can you provide small sample tmx file for that?

Thanks for pointing this out, will do

It should be fixed now