Skip to content

Allow template specializations to interleave generated definitions.#413

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_866094190
Feb 6, 2026
Merged

Allow template specializations to interleave generated definitions.#413
copybara-service[bot] merged 1 commit intomainfrom
test_866094190

Conversation

@copybara-service
Copy link

Allow template specializations to interleave generated definitions.

This requires wrapping each generated definition in it's own full
namespace, rather than include everything in one top level namespace as
we did before. This is so template specializations can appear between
generated definitions while still being in the global namespace.

Template specializations can depend and be depended upong by code we
generate for items. This means they should get toposorted like main_apis
are today. But template specializations need to reside in the global
namespace.

@copybara-service copybara-service bot force-pushed the test_866094190 branch 7 times, most recently from 72517c2 to 4600ea8 Compare February 6, 2026 21:16
This requires wrapping each generated definition in it's own full
namespace, rather than include everything in one top level namespace as
we did before. This is so template specializations can appear between
generated definitions while still being in the global namespace.

Template specializations can depend and be depended upong by code we
generate for items. This means they should get toposorted like main_apis
are today. But template specializations need to reside in the global
namespace.

PiperOrigin-RevId: 866588552
@copybara-service copybara-service bot merged commit c10678b into main Feb 6, 2026
@copybara-service copybara-service bot deleted the test_866094190 branch February 6, 2026 21:20
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

Successfully merging this pull request may close these issues.

1 participant