Skip to content

feat: generate exported constants for properties with const values#2403

Open
Shyam-Raghuwanshi wants to merge 9 commits into
asyncapi:masterfrom
Shyam-Raghuwanshi:feature/generate-exported-constants-for-const-properties
Open

feat: generate exported constants for properties with const values#2403
Shyam-Raghuwanshi wants to merge 9 commits into
asyncapi:masterfrom
Shyam-Raghuwanshi:feature/generate-exported-constants-for-const-properties

Conversation

@Shyam-Raghuwanshi

@Shyam-Raghuwanshi Shyam-Raghuwanshi commented Dec 31, 2025

Copy link
Copy Markdown

fixes #2399

Checklist

  • The code follows the project's coding standards and is properly linted (npm run lint).
  • Tests have been added or updated to cover the changes.
  • Documentation has been updated to reflect the changes.
  • All tests pass successfully locally.(npm run test).

Additional Notes

@netlify

netlify Bot commented Dec 31, 2025

Copy link
Copy Markdown

Deploy Preview for modelina canceled.

Name Link
🔨 Latest commit 19aee48
🔍 Latest deploy log https://app.netlify.com/projects/modelina/deploys/69fef8819d62b5000743b596

@sonarqubecloud

Copy link
Copy Markdown

@jonaslagoni jonaslagoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs test and docs. Also got a few sonar cloud issues

@jonaslagoni jonaslagoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yea, I dont think this is the right approach.

If we really want to export const values we need to use the same approach as for enums and create separate renderer for this.

@Shyam-Raghuwanshi
Shyam-Raghuwanshi force-pushed the feature/generate-exported-constants-for-const-properties branch from 11995f4 to c9dff41 Compare February 9, 2026 16:50
@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented May 9, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Generate Exported Constants for Properties with const Values

2 participants