Skip to content

Commit

Permalink
fix(core): respect runtimeType override with reflect-metadata provider
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed May 6, 2024
1 parent c8e2ce6 commit f1c9740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/metadata/ReflectMetadataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class ReflectMetadataProvider extends MetadataProvider {
}

prop.type ??= typeName;
prop.runtimeType = typeName;
prop.runtimeType ??= typeName;
}

}

0 comments on commit f1c9740

Please sign in to comment.