Skip to content

Conversation

@janishorsts
Copy link
Contributor

@janishorsts janishorsts commented Sep 25, 2025

Fixes #3643

slog prints a debug message with the memory address of the function ActionDef.Name.

ActionDef.Name is a function, not a string type.

// Name returns the Action's Name.
func (a *ActionDef[In, Out, Stream]) Name() string { return a.desc.Name }

Current

2025/09/25 17:56:08 DEBUG Action.Run name=0x102e32910 ...

Expected

2025/09/25 17:56:08 DEBUG Action.Run name=getWeather ...

Checklist (if applicable):

@janishorsts janishorsts changed the title fix: log action name in slog fix(go/core): log action name in slog Sep 25, 2025
@hugoaguirre hugoaguirre merged commit 7fff791 into firebase:main Sep 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Go] log prints memory address of the ActionDef.Name func

2 participants