Skip to content

fix: val/994-fix-castlecore-for-net10 - #242

Merged
ValentinaPetrova merged 1 commit into
developfrom
val/994-fix-castlecore-for-net10
Oct 31, 2025
Merged

fix: val/994-fix-castlecore-for-net10#242
ValentinaPetrova merged 1 commit into
developfrom
val/994-fix-castlecore-for-net10

Conversation

@ValentinaPetrova

Copy link
Copy Markdown
Contributor

fix: val/994-fix-castlecore-for-net10

  • return the right object field in Reference method from FieldReference
  • do the same change for the FieldBuilder method

closes telerik/MATTeam#994

 - return the right object field in Reference method from FieldReference

closes #994

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the FieldReference class where property getters were returning incorrect field references. The changes ensure that the FieldBuilder and Reference properties return their corresponding instance fields (fieldBuilder and field respectively) by adding explicit this. qualifiers.

  • Fixed FieldBuilder property to return this.fieldBuilder instead of the incorrect reference
  • Fixed Reference property to return this.field instead of the incorrect reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants