You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the returned type of article.metadata.author is string | null;
I would expect the types to be the same and I'd also expect the type to be string | null. If undefined was required, maybe a helper such as optional(nullable(String)) could be used to generate it.
The text was updated successfully, but these errors were encountered:
Hello, I'm wondering if types returned by generating data in these two different ways should be the same or not?
Example one
the returned type of
article.metadata.author
isstring | null | undefined
.Example Two
the returned type of
article.metadata.author
isstring | null
;I would expect the types to be the same and I'd also expect the type to be
string | null
. Ifundefined
was required, maybe a helper such asoptional(nullable(String))
could be used to generate it.The text was updated successfully, but these errors were encountered: