Skip to content

payload output inconsistent for single payload vs multipart #3051

@jardakotesovec

Description

@jardakotesovec

We have use case (graphql endpoint) when one endpoint accepts json and multipart payloads when we need send file along with json.

Issue is that payload - output option behave significantly different for normal and multipart payloads.

With file output option we don't want to save json payload to file, only real files in multipart situation. Same with streams we need only files as streams and not json payload when its not multi part situation.

Is there way to achieve that with hapi?

Metadata

Metadata

Assignees

Labels

featureNew functionality or improvement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions