Skip to content

[Feature Request] - DTO language requires a backtick when the property name is a jimmer or sql keyword #959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ClearPlume opened this issue Mar 18, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@ClearPlume
Copy link
Contributor

Reason

When a prop name is a keyword of DTO language such as desc, asc, etc., it cannot be used correctly in DTO language.

keyword

Description

When a prop name is a keyword of DTO language such as desc, asc, etc., it cannot be used correctly in DTO language.

Existing solutions

In kotlin, when it is necessary to use its keyword as a variable name, you can enclose it in backquotes

kotlin

@ClearPlume ClearPlume added the enhancement New feature or request label Mar 18, 2025
@babyfish-ct
Copy link
Owner

It is not supported to make DTO language to be simple, now asc and desc are not keywords

babyfish-ct added a commit that referenced this issue Mar 18, 2025
@babyfish-ct
Copy link
Owner

Resolved, but fixed by another way, Try 0.9.68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants