-
-
Notifications
You must be signed in to change notification settings - Fork 19
Desirable to be able to configure the name of ctx.request.body #39
Copy link
Copy link
Open
Labels
Pkg: koa-better-bodyPriority: MediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.
Metadata
Metadata
Assignees
Labels
Pkg: koa-better-bodyPriority: MediumThis issue may be useful, and needs some attention.This issue may be useful, and needs some attention.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.
Right now, I can do this and access
body,filesandfieldsBut if I want to use the property named
bodyto access the content of a json, I'd do the following:I'd like to be able to rename the buffer/text property to something else.