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
The family-root predicate belongs to the index that resolves it: replaces
mkIsFamilyType in the TypeScript profile writer and the byte-identical
inline copy in the Python naming utils.
When a reference target is a family type (e.g. `Resource`, `DomainResource`), the generated type uses `Reference<string/* Resource */>` instead of `Reference<"Resource">`. This makes narrower profile references like `Reference<"Patient">` assignable to the base type field.
288
288
289
-
Detection uses `mkIsFamilyType(tsIndex)` which checks `schema.typeFamily.resources.length > 0`.
289
+
Detection uses `tsIndex.isFamilyType` which checks `schema.typeFamily.resources.length > 0`.
0 commit comments