Skip to content

Reduce the duplicated codes in rendercode.ts #415

@sij411

Description

@sij411

There are multiple ways to reduce the duplicated codes:

  1. To separate that patterns and have 3 functions (render(), renderRequest(), renderResponse())
  2. To combine two functions and have if conditions to process each type Request|Response.

Or other ways

Originally posted by @sij411 in #410 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions