fix: handle null
being passed to createTransformer
#9955
Merged
null
being passed to createTransformer
#9955