-
Notifications
You must be signed in to change notification settings - Fork 1.5k
AsString extension no longer works #2698
Comments
So it should be an extension method on |
Yup
…On 2 February 2017 at 09:45, Andreas Håkansson ***@***.***> wrote:
So it should be an extension method on Stream instead, is that way you
are saying?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2698 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAGapv0t5LUUld6nY8OTPMpmlkL_nGkUks5rYaWogaJpZM4L049J>
.
|
Wouldn't it be quicker to send a PR than to write an issue and link stuff? 🤣 |
Probably but busy and dont want to forget :)
…On 2 February 2017 at 12:07, Andreas Håkansson ***@***.***> wrote:
Wouldn't it be quicker to send a PR than to write an issue and link stuff?
🤣
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2698 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAGapgpqrQLA5OdN2U1LuVLLlMRQjjUPks5rYccNgaJpZM4L049J>
.
|
Not to mention it's always nice having PRs like this up for grabs for first timers :) |
Make it so... |
Yes, it is faster to fix it yourself, but that removes opportunities for newbies to open-source or even seasoned vets (who are looking for suggestions of value) to get involved with the project. Check out @yourfirstpr - https://yourfirstpr.github.io/ for more information. Without new blood; projects atrophy. |
I can do that |
Apologies there was a typo in PR title, too long on the front of PC :( it has been renamed |
Prerequisites
DEBUG
andRELEASE
modeDescription
We recently moved the Request.Body to a Stream away from a RequestStream. We have an extension that allows you to get a request body as string however its an extension method off of RequestStream.
Steps to Reproduce
To get this to work you have to do
((RequestStream)this.Body)>AsString()
which is nasty.This needs fixing
Nancy/src/Nancy/Extensions/RequestStreamExtensions.cs
Line 18 in be4f8d4
I think this test needs ammending https://github.com/NancyFx/Nancy/blob/be4f8d42076e4e568a3742715437868e6c7d05af/test/Nancy.Tests/Unit/Extensions/RequestStreamExtensionsFixture.cs
System Configuration
The text was updated successfully, but these errors were encountered: