You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor validateAutoIncrementType to use switch statement
Improve code readability and maintainability by replacing multiple if
statements with a comprehensive switch statement on t.Type().
- Add query import for type constants
- Explicit case handling for all data types
- Clear grouping of allowed vs disallowed types
- Better performance with single switch evaluation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments