Skip to content

Enforce fromJSON return type#143

Merged
hediyi merged 3 commits intomasterfrom
improve-fromJSON
Jul 11, 2019
Merged

Enforce fromJSON return type#143
hediyi merged 3 commits intomasterfrom
improve-fromJSON

Conversation

@hediyi
Copy link
Collaborator

@hediyi hediyi commented Jun 26, 2019

No description provided.

@mikolalysenko
Copy link
Owner

fromJSON should return the identity value for the schema if the input type is inconsistent.

};
}
}
return this.alloc();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.clone(this.identity);

@hediyi hediyi merged commit 22a0bd1 into master Jul 11, 2019
@hediyi hediyi deleted the improve-fromJSON branch July 11, 2019 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants