Skip to content

Commit

Permalink
docs-util: normalize RelationNullableModifier in model references (me…
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Dec 9, 2024
1 parent f4b45b8 commit 866cabf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export function load(app: Application) {
function normalizeNullable(reflection: DeclarationReflection) {
if (
reflection.type?.type !== "reference" ||
reflection.type.name !== "NullableModifier" ||
(reflection.type.name !== "NullableModifier" &&
reflection.type.name !== "RelationNullableModifier") ||
!reflection.type.typeArguments ||
reflection.type.typeArguments.length < 2
) {
Expand Down

0 comments on commit 866cabf

Please sign in to comment.