Skip to content

Commit 1b5d933

Browse files
committed
make sure only non-graphic serializers are returned when called with NULL
1 parent d3fe4be commit 1b5d933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/serializers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ get_serializers_internal <- function(
153153
return(NULL)
154154
}
155155
if (is.null(types)) {
156-
types <- names(registry$serializers)
156+
types <- "..."
157157
}
158158
dots <- which(types == "...")
159159
from_dots <- rep_along(types, FALSE)

0 commit comments

Comments
 (0)