#416·sonic

Do not hash collection names

Author: RemiBardonCreated Sep 23, 2026Updated Sep 23, 2026
Labelsbreaking

It just makes debugging harder, for no apparent reason.

Hashing avoids having to sanitize input but no sane system would use user input as collection name so it’s not a big deal. Also with restrictive sanitization it’d be safe.

As a reminder, collections are used to group very high level information, like “messages” or “pages”; it’s not meant to hold complex nor long strings.