We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create
Given this factory:
const fact = unionized.factory({foo: {bar: 3}})
Creating an object like so:
fact.create({foo: {}})
The expected output object is
{ "foo": {} }
but the result is
{ "foo": { "bar": 3 } }
This works as expected with {foo: null} and {foo: undefined}.
{foo: null}
{foo: undefined}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given this factory:
Creating an object like so:
The expected output object is
{ "foo": {} }
but the result is
This works as expected with
{foo: null}
and{foo: undefined}
.The text was updated successfully, but these errors were encountered: