Skip to content

Support for Json?, and String? as the response in a RequestView #1

@carson-katri

Description

@carson-katri

Currently, RequestView only supports Data? as a return type.

This enhancement is to allow Json? and String? as responses as well by adding more initializers:

RequestView(myRequest) { (data: Data?) in ... }
RequestView(myRequest) { (string: String?) in ... }
RequestView(myRequest) { (json: Json?) in ... }

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions