Skip to content

Hotfixes and changes in default serialization

Compare
Choose a tag to compare
@makosovic makosovic released this 20 Oct 18:25
· 5 commits to master since this release

This release fixes a couple of validation and serialization issues:

  • Validation property in FieldSchema is now anonymous object and validation rules can be defined when creating schema.
  • Validation message parsing from DreamFactory response body has been fixed so now exceptions due to failed validation should return user defined message.
  • Default SnakeCasePropertyNameResolver has been removed and all properties that are defined in DreamFactory are marked with JsonPropertyAttribute so they are serialized with snake_cased_convention. All user POCO classes will be serialized as they are defined unless property names are overridden using JsonPropertyAttribute.

NuGet package has been relased as at: https://www.nuget.org/packages/DreamFactoryNet/2.0.3.1

    Install-Package DreamFactoryNet