Skip to content

Migrate cpp.type/cpp.template inline annotations to @cpp.Type#486

Open
iahs wants to merge 1 commit intofacebookresearch:v2-betafrom
iahs:export-D94698697-to-v2-beta
Open

Migrate cpp.type/cpp.template inline annotations to @cpp.Type#486
iahs wants to merge 1 commit intofacebookresearch:v2-betafrom
iahs:export-D94698697-to-v2-beta

Conversation

@iahs
Copy link

@iahs iahs commented Feb 27, 2026

Summary: Migrate inline (cpp.type = "...") and (cpp.template = "...") annotations on typedefs to cpp.Type{name = "..."} and cpp.Type{template = "..."} structured annotations in 2 feedsim ranking thrift files.

Differential Revision: D94698697

@meta-codesync
Copy link

meta-codesync bot commented Feb 27, 2026

@iahs has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94698697.

@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 Feb 27, 2026
Summary:
Migrate inline `(cpp.type = "...")` and `(cpp.template = "...")` annotations on typedefs to `cpp.Type{name = "..."}` and `cpp.Type{template = "..."}` structured annotations in 2 feedsim ranking thrift files.

Also add THRIFT_INCLUDE_DIRECTORIES to the thrift_library() CMake calls so the thrift compiler can find the thrift/annotation/cpp.thrift include file from fbthrift.

Reviewed By: Mizuchi

Differential Revision: D94698697
@iahs iahs force-pushed the export-D94698697-to-v2-beta branch from 8ba67b2 to 3274853 Compare March 3, 2026 00:07
meta-codesync bot pushed a commit that referenced this pull request Mar 3, 2026
Summary:
Pull Request resolved: #486

Migrate inline `(cpp.type = "...")` and `(cpp.template = "...")` annotations on typedefs to `cpp.Type{name = "..."}` and `cpp.Type{template = "..."}` structured annotations in 2 feedsim ranking thrift files.

Also add THRIFT_INCLUDE_DIRECTORIES to the thrift_library() CMake calls so the thrift compiler can find the thrift/annotation/cpp.thrift include file from fbthrift.

Reviewed By: Mizuchi

Differential Revision: D94698697

fbshipit-source-id: 1414cc9d2116b79c6ebce6e3baec90bc4e84a334
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. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant