feat(api): keep raw tokens out of prelude
Move generated metadata tokens behind a hidden compatibility export and tighten the public contract test so the beginner prelude stays focused on generated authoring, Html, forms, navigation, and IntoEffect. req: dx/006 req: public_api/005
This commit is contained in:
@@ -145,6 +145,12 @@ fn public_prelude_does_not_export_low_level_primitives() {
|
||||
"ResourceId",
|
||||
"EffectBatch",
|
||||
"BuildFingerprint",
|
||||
"Atom",
|
||||
"ComponentRef",
|
||||
"EventName",
|
||||
"GeneratedTarget",
|
||||
"Handle",
|
||||
"ParamName",
|
||||
] {
|
||||
assert!(
|
||||
!exported.contains(&token),
|
||||
|
||||
Reference in New Issue
Block a user