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

Unnecessary use of as type in hooks generation #1199

Open
sakgoyal opened this issue Mar 31, 2024 · 0 comments
Open

Unnecessary use of as type in hooks generation #1199

sakgoyal opened this issue Mar 31, 2024 · 0 comments

Comments

@sakgoyal
Copy link
Contributor

Description and expected behavior
extra uses of as type that are not required. these can be omitted without any change.

This assertion is unnecessary since it does not change the type of the expression.sonarlint(typescript:S4325)

Screenshots
image

Environment (please complete the following information):

  • ZenStack version: v2

** extra info **
this only happens on the mutate functions for createMany, updateMany, deleteMany.

@ymc9 ymc9 modified the milestone: v2.1.0 May 7, 2024
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

No branches or pull requests

2 participants