Skip to content
New issue

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

handle empty struct and empty values when casting #40

Merged
merged 5 commits into from
Jan 21, 2019

Conversation

Fs02
Copy link
Owner

@Fs02 Fs02 commented Jan 15, 2019

  • when entity passed as schema is empty, all valid params will be treated as changes.
  • new EmptyValues options that defines what values are considered to be empty.

#38

@Fs02 Fs02 changed the title cast all changes on zero struct handle empty struct and empty values when casting Jan 17, 2019
@Fs02 Fs02 merged commit cbbe96f into master Jan 21, 2019
@Fs02 Fs02 deleted the all-input-as-changes-when-struct-is-zero branch January 21, 2019 13:08
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.

1 participant