| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Previously, the Binder interface was only checked within the struct case of the type switch, causing primitive types (strings, ints, etc.) that implement Binder to bypass their custom binding logic. This fix moves the Binder check to the beginning of BindStringToObject, ensuring all types implementing Binder use their custom Bind method, regardless of their underlying type. The redundant check in the struct case has been removed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@jamietanna could this be looked at? We ran into a similar issue, and it'd mean we don't need to modify the template, nor use a fork to get this behavior, which would be ideal. |
Sorry, something went wrong.
|
cc @mromaszewicz we can take a look at this one after your current batch of changes are merged :) |
Sorry, something went wrong.
|
This looks great. Please rebase, and CI should pass, then we can merge. |
Sorry, something went wrong.
|
Looks like CI requires an approval to run |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Previously, the Binder interface was only checked within the struct case of the type switch, causing primitive types (strings, ints, etc.) that implement Binder to bypass their custom binding logic. This fix moves the Binder check to the beginning of BindStringToObject, ensuring all types implementing Binder use their custom Bind method, regardless of their underlying type. The redundant check in the struct case has been removed.