ResourcePreviewauthors field is now forced to default to an empty list ([]), if field is not supplied or None / null is supplied as value. These changes follow @sblack-usu's proposed solution to #23,
updating the default from None to an empty list makes sense to me.
A unit test is also added to verify the desired behavior.
ResourcePreview
authors
field is now forced to default to an empty list ([]
), if field is not supplied orNone
/null
is supplied as value. These changes follow @sblack-usu's proposed solution to #23,A unit test is also added to verify the desired behavior.
fixes #23