Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: inline Attrs for a group with an empty key (#27)
* fix: inline Attrs for a group with an empty key This fixes a bug where tint produces `.c=d` if the user passes an attribute like `slog.Group("", slog.String("c", "d"))`. This result violates one of slog's rules for handlers: "If a group's key is empty, inline the group's Attrs." * added test case comment * consistency --------- Co-authored-by: lmittmann <[email protected]>
- Loading branch information