Skip to content

Use marshmallow to parse calculate order and custom order #6998

Open
@iamareebjamal

Description

@iamareebjamal

json.loads and dealing with dictionaries is very error prone

It also does not convert str to float and vice versa where necessary.
Take user input using marshmallow for:

  • Order calculation endpoint
  • Order creation endpoint
  • Order completion endpoint

And similarly, use marshmallow to serialize the dict/object as well

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions