Skip to content

Allow multiple strategies for the returned data #17

@yordis

Description

@yordis

Hey there 👋🏻 , as somebody passionate about the topic and with way too many scars I wish to have, I would like to be able to decide how the return payload is returned:

I may return the data as a map, struct, or without decoding as string/raw.

  • map because you do not want the double-pass of decoders, and speed is critical. Also, primitive obsessions are helpful when taking advantage of derives out there.

  • struct, you are ok with the double-pass and want to work with structs.

  • raw when you want to pass the data to another service without doing much (I have seen this a lot with Stripe)


Related to beam-community/stripity-stripe#805

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature[improvements] New functionality is needed or required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions