fix: sample generation for nested oject schemas (#4648)
This commit is contained in:
@@ -37,7 +37,7 @@ export function objectify (thing) {
|
||||
if(!isObject(thing))
|
||||
return {}
|
||||
if(isImmutable(thing))
|
||||
return thing.toObject()
|
||||
return thing.toJS()
|
||||
return thing
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user