Skip to content

Increase max full-name length limits to 512#24846

Merged
EngincanV merged 1 commit intodevfrom
MaxTypeFullNameLength
Feb 10, 2026
Merged

Increase max full-name length limits to 512#24846
EngincanV merged 1 commit intodevfrom
MaxTypeFullNameLength

Conversation

@maliming
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates audit logging/auditing length constants to allow storing longer CLR full type names (up to 512 characters), reducing truncation risk when persisting entity/property type information.

Changes:

  • Increased EntityChangeConsts.MaxEntityTypeFullNameLength from 128 to 512.
  • Increased EntityPropertyChangeConsts.MaxPropertyTypeFullNameLength from 64 to 512.
  • Increased EntityPropertyChangeInfo.MaxPropertyTypeFullNameLength from 192 to 512 (aligning it with its XML doc comment and module constant).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityPropertyChangeConsts.cs Raises max length for persisted property type full names to 512.
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityChangeConsts.cs Raises max length for persisted entity type full names to 512.
framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/EntityPropertyChangeInfo.cs Raises in-memory/auditing-side max length for property type full names to 512.

@maliming maliming requested a review from EngincanV February 10, 2026 05:48
@EngincanV EngincanV merged commit bb55b1d into dev Feb 10, 2026
8 of 10 checks passed
@EngincanV EngincanV deleted the MaxTypeFullNameLength branch February 10, 2026 10:15
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.

3 participants