Skip to content

refactor: Use TypeKindName helpers#14337

Closed
hotcodemacha wants to merge 1 commit intofacebookincubator:mainfrom
hotcodemacha:ashu/14096
Closed

refactor: Use TypeKindName helpers#14337
hotcodemacha wants to merge 1 commit intofacebookincubator:mainfrom
hotcodemacha:ashu/14096

Conversation

@hotcodemacha
Copy link
Copy Markdown
Contributor

@hotcodemacha hotcodemacha commented Aug 5, 2025

fixes #14096

Removed legacy type-conversion helpers in Type.h, consolidating enum name translation under TypeKindName for a single source of truth

Updated variant serialization to resolve type names and kinds through TypeKindName instead of deprecated mapping utilities

Revised error handling and validation, such as subscript index checks, to use TypeKindName::toName across the codebase

@netlify
Copy link
Copy Markdown

netlify bot commented Aug 5, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit a14b0f0
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/6892bdb7ac32d700071c10c0

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 5, 2025
@hotcodemacha hotcodemacha marked this pull request as ready for review August 5, 2025 23:24
Copy link
Copy Markdown
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!!

@mbasmanova mbasmanova added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Aug 5, 2025
@mbasmanova mbasmanova changed the title refactor: use TypeKindName helpers refactor: Use TypeKindName helpers Aug 5, 2025
@hotcodemacha
Copy link
Copy Markdown
Contributor Author

@mbasmanova - Can you please help in triggering the workflows. I have updated the commit for with clang-format

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@pedroerp has imported this pull request. If you are a Meta employee, you can view this in D79726130.

@kgpai
Copy link
Copy Markdown
Contributor

kgpai commented Oct 14, 2025

@hotcodemacha Can you fix the import issues

@kgpai kgpai removed the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Oct 14, 2025
@meta-codesync meta-codesync bot closed this in 7bc4a21 Oct 23, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Oct 23, 2025

@pedroerp merged this pull request in 7bc4a21.

@pedroerp
Copy link
Copy Markdown
Contributor

This took some internal refactoring. Some about the delay merging this.

@pedroerp pedroerp mentioned this pull request Oct 24, 2025
mhaseeb123 pushed a commit to mhaseeb123/velox that referenced this pull request Oct 27, 2025
Summary:
fixes facebookincubator#14096

Removed legacy type-conversion helpers in Type.h, consolidating enum name translation under TypeKindName for a single source of truth

Updated variant serialization to resolve type names and kinds through TypeKindName instead of deprecated mapping utilities

Revised error handling and validation, such as subscript index checks, to use TypeKindName::toName across the codebase

Pull Request resolved: facebookincubator#14337

Reviewed By: peterenescu, jagill

Differential Revision: D79726130

Pulled By: pedroerp

fbshipit-source-id: 334d538fff5ada96bd31b32e7e37e9056dc806ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to TypeKindName::toName/toTypeKind

5 participants