Browse Source

Merge pull request #24846 from abpframework/MaxTypeFullNameLength

Increase max full-name length limits to 512
pull/24854/head
Engincan VESKE 2 months ago
committed by GitHub
parent
commit
bb55b1d8bf
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/EntityPropertyChangeInfo.cs
  2. 4
      modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityChangeConsts.cs
  3. 4
      modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityPropertyChangeConsts.cs

2
framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/EntityPropertyChangeInfo.cs

@ -21,7 +21,7 @@ public class EntityPropertyChangeInfo
/// Maximum length of <see cref="PropertyTypeFullName"/> property.
/// Value: 512.
/// </summary>
public static int MaxPropertyTypeFullNameLength = 192;
public static int MaxPropertyTypeFullNameLength = 512;
public virtual string? NewValue { get; set; }

4
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityChangeConsts.cs

@ -3,9 +3,9 @@
public class EntityChangeConsts
{
/// <summary>
/// Default value: 128
/// Default value: 512
/// </summary>
public static int MaxEntityTypeFullNameLength { get; set; } = 128;
public static int MaxEntityTypeFullNameLength { get; set; } = 512;
/// <summary>
/// Default value: 128

4
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityPropertyChangeConsts.cs

@ -18,7 +18,7 @@ public class EntityPropertyChangeConsts
public static int MaxPropertyNameLength { get; set; } = 128;
/// <summary>
/// Default value: 64
/// Default value: 512
/// </summary>
public static int MaxPropertyTypeFullNameLength { get; set; } = 64;
public static int MaxPropertyTypeFullNameLength { get; set; } = 512;
}

Loading…
Cancel
Save