You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When enabling AllowNonUniqueSections and using SectionWithIndex(name, idx).ReflectFrom to create several sections with the same name from a struct the call to ReflectFrom deletes any previously created sections with the same name.
// note: using ReflectFrom from should overwrite the existing sections
I also found this behavior to be unexpected. In my context, I was looking to overwrite/update a single non-unique section with ReflectFrom but that will delete all the other matching sections in the file.
Describe the bug
When enabling
AllowNonUniqueSections
and usingSectionWithIndex(name, idx).ReflectFrom
to create several sections with the same name from a struct the call toReflectFrom
deletes any previously created sections with the same name.To Reproduce
Expected behavior
Several sections should exist after running ReflectFrom several times.
The text was updated successfully, but these errors were encountered: