Skip to content

Commit

Permalink
(#327) Upgrade Newtonsoft lowest dependency
Browse files Browse the repository at this point in the history
This is done to support the "new" configuration option
TypeNameAssemblyFormatHandling
  • Loading branch information
pardahlman committed Mar 11, 2018
1 parent f268ada commit 678c8f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static IDependencyRegister AddRawRabbit(this IDependencyRegister register
.AddSingleton<IClientPropertyProvider, ClientPropertyProvider>()
.AddSingleton<ISerializer>(resolver => new Serialization.JsonSerializer(new Newtonsoft.Json.JsonSerializer
{
TypeNameAssemblyFormat = FormatterAssemblyStyle.Simple,
TypeNameAssemblyFormatHandling = TypeNameAssemblyFormatHandling.Simple,
Formatting = Formatting.None,
CheckAdditionalContent = true,
ContractResolver = new CamelCasePropertyNamesContractResolver(),
Expand Down
2 changes: 1 addition & 1 deletion src/RawRabbit/RawRabbit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<ItemGroup>
<PackageReference Include="RabbitMQ.Client" Version="5.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
Expand Down

0 comments on commit 678c8f9

Please sign in to comment.