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

Use typesafety within the generator #26114

Open
1 task
Tcharl opened this issue May 12, 2024 · 3 comments
Open
1 task

Use typesafety within the generator #26114

Tcharl opened this issue May 12, 2024 · 3 comments

Comments

@Tcharl
Copy link
Contributor

Tcharl commented May 12, 2024

Overview of the feature request

Now that most of the generator is in typescript, type safety can be ensured removing all the any and enforcing attributes types (i.e. let myVar: string), function parameter types, and function return types.

Motivation for or Use Case

Type safety helps to avoid some mistakes, but also helps new jhipster contributors (and occasional contributors like me) to better understand how the generator is architectured: in the end, it speeds up the delivery of new features due to a better developper experience.

Related issues or PR

#26111
#26110
#26096

  • Checking this box is mandatory (this is just to show you read everything)
@mshima
Copy link
Member

mshima commented May 12, 2024

I don’t understand the proposal.

@Tcharl
Copy link
Contributor Author

Tcharl commented May 12, 2024

Just to historize the work on making the generator more typescript friendly sir ;-)

@DanielFran DanielFran added $100 https://www.jhipster.tech/bug-bounties/ $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ labels May 17, 2024
@Tcharl Tcharl mentioned this issue May 19, 2024
6 tasks
@Tcharl
Copy link
Contributor Author

Tcharl commented May 20, 2024

@DanielFran I'll leave the bounty to anyone else willing to contribute to the overall rework

@Tcharl Tcharl mentioned this issue May 25, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants