CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
MIT License
2.08k stars 175 forks source link

Issue #194 Invalid cast from 'System.String' to 'System.Guid' #196

Closed abazanov closed 5 years ago

abazanov commented 5 years ago

Fix "Invalid cast from 'System.String' to 'System.Guid'." issue. Happens when submitting a PUT request that has Guids as part of its body.

abazanov commented 5 years ago

:) here we go again. 👍

abazanov commented 5 years ago

@jchannon how long does it usually take for the new package to be available? Or have you got a pipeline for it?

jchannon commented 5 years ago

Thanks for your contribution! 🎉 👍

Releases vary however you can use a built package on Carter's nuget feed. If you add this nuget.config file next to your solution or amend your global nuget.config you'll be able to pick up a package with your fix in it.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <add key="carter" value="https://ci.appveyor.com/nuget/carterci/" />
    </packageSources>

You'll see that version 4.2.0-ci108 is available that has your changes in it and anything else since the 4.2.0 release

jchannon commented 5 years ago

Changes since the last release can be seen here https://github.com/CarterCommunity/Carter/milestone/16?closed=1