Skip to content
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

SFDX: Create Apex Class should validate the Size of the class name and block the class creation if its name is bigger than the max allowed #3624

Closed
AllanOricil opened this issue Oct 29, 2021 · 3 comments
Labels
area:usability feature good first issue good issue for first-time contributors type:community-contrib Community Contribution Pull Requests type:feedback Feedback for new features

Comments

@AllanOricil
Copy link
Contributor

Is your feature request related to a problem? Please describe.
SFDX: Create Apex Class should validate the size of the class name.
At the moment you can type in any name and the command does not validate. The User will know that it is not valid only during the deploy, where the API will say something like "class name is too long"

Describe the solution you'd like
If the given class name is bigger than the max size permitted, show an error message and ask the User to type a new Name. If it is a valid size, then continue with the current behavior.

Describe alternatives you've considered
No alternatives

Additional context
N/A

@AllanOricil AllanOricil changed the title SFDX: Create Apex Class should validate the Size of the class name and block us from using it if it is bigger than the max size SFDX: Create Apex Class should validate the Size of the class name and block the class creation if its name is bigger than the max allowed Oct 29, 2021
@randi274 randi274 added type:feedback Feedback for new features area:usability labels Oct 29, 2021
@AllanOricil
Copy link
Contributor Author

The max size is 40 characters

@randi274 randi274 added the good first issue good issue for first-time contributors label Oct 3, 2022
@AllanOricil
Copy link
Contributor Author

I have plans to work on this @randi274

@git2gus
Copy link

git2gus bot commented Dec 9, 2022

This issue has been linked to a new work item: W-12195702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:usability feature good first issue good issue for first-time contributors type:community-contrib Community Contribution Pull Requests type:feedback Feedback for new features
Projects
None yet
Development

No branches or pull requests

3 participants