Skip to content

Ignore unexported field in MakeParams#259

Merged
huandu merged 1 commit intohuandu:masterfrom
minjatJ:ignore_unexported_in_make_params
Jan 10, 2025
Merged

Ignore unexported field in MakeParams#259
huandu merged 1 commit intohuandu:masterfrom
minjatJ:ignore_unexported_in_make_params

Conversation

@minjatJ
Copy link
Contributor

@minjatJ minjatJ commented Jan 10, 2025

The following line panics when trying to access an unexported field https://github.com/huandu/facebook/blob/master/params.go#L147 so it might be better to simply ignore any unexported field

@huandu huandu added the bug label Jan 10, 2025
@huandu
Copy link
Owner

huandu commented Jan 10, 2025

LGTM. Thanks for your contribution.

@huandu huandu merged commit 7c20bb7 into huandu:master Jan 10, 2025
1 check passed
@huandu
Copy link
Owner

huandu commented Jan 10, 2025

Released in v2.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants