Closed RichDom2185 closed 2 months ago
Can refer to:
To see how it's done when working with maps.
By right, parsing logic should be separate from the main logic. See https://github.com/source-academy/backend/blob/d867927ac0ce101235da19803dd2cca948946c39/lib/cadet/jobs/xml_parser.ex#L22
For both filter and sorting params:
They should be parsed from the query params at the controller level and passed down to the handler function via arguments