Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
omaxel authored Aug 8, 2018
1 parent 79466e1 commit 41320b8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ A simple library for partial entity changes in ASP.NET and ASP.NET Core.
- [How to use](#how-to-use)
- [Configuration](#configuration)
- [Globals](#globals)
- [Adding entities](#adding-entities)
- [Ignore letter case for property names](#ignore-letter-case-for-property-names)
- [(Global) Mapping functions](#(global)-mapping-functions)
- [Adding entities](#--adding-entities)
- [Ignore letter case for property names](#--ignore-letter-case-for-property-names)
- [(Global) Mapping functions](#--(global)-mapping-functions)
- [Properties Configuration](#properties-configuration)
- [Exclude properties](#exclude-properties)
- [Ignore null value](#ignore-null-value)
- [Mapping functions](#mapping-functions)
- [Exclude properties](#--exclude-properties)
- [Ignore null value](#--ignore-null-value)
- [Mapping functions](#--mapping-functions)

## Quick Start
```
Expand Down Expand Up @@ -334,4 +334,4 @@ To better understand what `SkipMap()` mean, please take a look at the [Global Ma
The result type of the specified function must be of the same type of the property for which the mapping function is added to.

#### Mapping functions order
In order to assign a value to a property, SimplePatch will evaluate the property mapping functions first. If there aren't property mapping functions or they return the result of `SkipMap()`, then the global mapping functions will be evaluated. If there aren't global mapping functions or they return the result of `SkipMap()`, then the default behavior will be used (SimplePatch will try to convert the input value type to the target property type).
In order to assign a value to a property, SimplePatch will evaluate the property mapping functions first. If there aren't property mapping functions or they return the result of `SkipMap()`, then the global mapping functions will be evaluated. If there aren't global mapping functions or they return the result of `SkipMap()`, then the default behavior will be used (SimplePatch will try to convert the input value type to the target property type).

0 comments on commit 41320b8

Please sign in to comment.