fix: sample generation for nested oject schemas (#4648)

This commit is contained in:
kyle
2018-06-14 16:56:03 -07:00
committed by GitHub
parent 3fa3e2d89d
commit f53f92351e
2 changed files with 29 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ export function objectify (thing) {
if(!isObject(thing))
return {}
if(isImmutable(thing))
return thing.toObject()
return thing.toJS()
return thing
}