Activities of "DanLo"

When creating static clientproxies in cli how do i get it with attributes? Command i run in PS : abp generate-proxy -t csharp -m customer -url http://localhost:xxxx/

I get files in clientproxis mapp but without attributes.

Her is a part of my generated dto class:

public abstract class CustomerCreateDtoBase
{
    [Required]
    [StringLength(CustomerConsts.NameMaxLength, MinimumLength = CustomerConsts.NameMinLength)]
    public string Name { get; set; } = null!;

    [Required]
    [StringLength(CustomerConsts.StreetMaxLength)]
    public string Street { get; set; } = null!;
    
    [Required]
    [RegularExpression(@"[0-9]+")]
    [StringLength(CustomerConsts.ZipCodeMaxLength, MinimumLength = CustomerConsts.ZipCodeMinLength)]
    public string ZipCode { get; set; } = null!;
    
    [Required]
    [StringLength(CustomerConsts.CityMaxLength)]
    public string City { get; set; } = null!;
    
    [Required]
    [RegularExpression(@"\+[0-9]+-[0-9]+")]
public string PhoneNumber { get; set; } = null!;

We have made services in abp studio so these classes are generated.

Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09