Skip to content

fix(*): add mustCoerceToInt to relevant props - 21.2.x#16625

Merged
dkamburov merged 6 commits into
21.2.xfrom
iminchev/add-coerceToInt-to-props
Jun 18, 2026
Merged

fix(*): add mustCoerceToInt to relevant props - 21.2.x#16625
dkamburov merged 6 commits into
21.2.xfrom
iminchev/add-coerceToInt-to-props

Conversation

@IMinchev64

Copy link
Copy Markdown
Contributor

Attribute is needed so the metadata descriptions which are used by Blazor can be updated which would resolve the enum values as numbers instead of strings.

Related to: https://infragistics.visualstudio.com/Indigo_Platform/_workitems/edit/34678

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions Bot added the status: inactive Used to stale issues and pull requests label Feb 9, 2026
@github-actions github-actions Bot closed this Feb 17, 2026
@dkamburov dkamburov reopened this Feb 19, 2026
@dkamburov dkamburov removed the status: inactive Used to stale issues and pull requests label Feb 19, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 12:01

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

Adds mustCoerceToInt metadata markers to selected enum-typed properties so downstream Blazor metadata resolves enum values as numbers (instead of strings).

Changes:

  • Annotate pivot grid dimension-change event args to coerce PivotDimensionType to an int.
  • Annotate grid pinning config positions to coerce pinning enums to ints.
  • Annotate overlay PositionSettings alignment properties and filtering expression tree operator/type to coerce enums to ints.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
projects/igniteui-angular/grids/core/src/pivot-grid.interface.ts Adds mustCoerceToInt marker for dimensionCollectionType metadata.
projects/igniteui-angular/grids/core/src/common/grid.interface.ts Adds mustCoerceToInt markers for IPinningConfig enum properties.
projects/igniteui-angular/core/src/services/overlay/utilities.ts Adds mustCoerceToInt markers for PositionSettings alignment enums.
projects/igniteui-angular/core/src/data-operations/filtering-expressions-tree.ts Adds mustCoerceToInt markers for filtering operator and tree type enum properties.

Comment thread projects/igniteui-angular/grids/core/src/pivot-grid.interface.ts Outdated
Comment thread projects/igniteui-angular/core/src/services/overlay/utilities.ts Outdated
Comment thread projects/igniteui-angular/core/src/services/overlay/utilities.ts Outdated
Comment thread projects/igniteui-angular/core/src/services/overlay/utilities.ts Outdated
Comment thread projects/igniteui-angular/core/src/services/overlay/utilities.ts Outdated
@ChronosSF ChronosSF changed the base branch from master to 21.2.x April 22, 2026 15:58
@IMinchev64 IMinchev64 changed the title fix(*): add mustCoerceToInt to relevant props - master fix(*): add mustCoerceToInt to relevant props - 21.2.x Apr 24, 2026
@dkamburov dkamburov removed the ❌ status: awaiting-test PRs awaiting manual verification label Jun 18, 2026
@dkamburov dkamburov merged commit 58062c5 into 21.2.x Jun 18, 2026
5 of 6 checks passed
@dkamburov dkamburov deleted the iminchev/add-coerceToInt-to-props branch June 18, 2026 19:49
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.

5 participants