Skip to content

C# static client proxy is not generating enums for "With Contracts " approach #24940

@Ahmedrz89

Description

@Ahmedrz89

Is there an existing issue for this?

  • I have searched the existing issues

Description

we have a service that is exposing the definition endpoint correctly and all the types and enums are there
and we are using
abp generate-proxy -t csharp -u https://serviceUrl/
which is creating the dtos and the services themselves but the enums are not generated
and the enums are there in the generated "app-generate-proxy.json" file

"Products.StockPolicy": {
"baseType": "System.Enum",
"isEnum": true,
"enumNames": [
...
],
"enumValues": [
...
],
"genericArguments": null,
"properties": null
},

Reproduction Steps

No response

Expected behavior

enums should be generated as the dtos when using the "With Contracts" approach

Actual behavior

enums are not generated only services and dtos

Regression?

No response

Known Workarounds

No response

Version

ABP CLI 10.1.0

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions