Skip to content

Add normalize callback to normalize the update and create options.data#161

Open
lisandropuzzolo wants to merge 1 commit into
SteveSanderson:masterfrom
lisandropuzzolo:patch-2
Open

Add normalize callback to normalize the update and create options.data#161
lisandropuzzolo wants to merge 1 commit into
SteveSanderson:masterfrom
lisandropuzzolo:patch-2

Conversation

@lisandropuzzolo
Copy link
Copy Markdown

If some property of your model expects to receive some type of data, for example and Object, and it receives a String or Null, mapping fails.

I added the normalize callback to normalize the data before it passes to update and create callbacks.

If some property of your model expects to receive some type of data, for example and Object, and it receives a String or Null, mapping fails.

I added the normalize callback to normalize the data before it passes to update and create callbacks.
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