Audit whether slicesext.ToStructMapOmitEmpty can be removed
Author: bufdevCreated May 9, 2025Updated Sep 16, 2026
We have a note on slicesext.ToStructMapOmitEmpty:
We likely did this to make sure we didn't edit existing behavior, but I bet if we go through buf and core, we won't find anywhere that relies on the zero value being populated as a key. We just need to do this audit, and if so, delete the existing ToStructMap and rename ToStructMapOmitEmpty to ToStructMap.
Source: bufbuild/buf