Skip to content

Fix: Source Generator BindField attribute incorrectly ignores fields instead of configuring them - #8640

Merged
michaelstaib merged 2 commits into
ChilliCream:mainfrom
PHILLIPS71:jp/bind-field-ignored-instead-of-configured
Jul 9, 2026
Merged

michaelstaib merged 2 commits into
ChilliCream:mainfrom
PHILLIPS71:jp/bind-field-ignored-instead-of-configured

Conversation

@PHILLIPS71

Copy link
Copy Markdown
Contributor

The [BindField] attribute was incorrectly adding fields to the ignored list instead of configuring them with resolvers. This caused bound fields to be ignored rather than handled by their specified methods.

Solution

  • Removed field bindings from the ignored list (only property bindings should be ignored)
  • Updated field configuration to use bound field names instead of method names

Fixes #7786

@michaelstaib
michaelstaib merged commit fa234e3 into ChilliCream:main Jul 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Source Generator cannot deal with [BindField]

2 participants