Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Change the "maxLength" route registration syntax #8

@amitguptagwl

Description

@amitguptagwl

A route can be registered with the following syntax

- route: 
    uri: "/list/transactions/:creditCard(:credit-card:)"
    maxLength: 1024 * 1024
    to: CreditCardService
    after: [ authentication, monitoring ]
    then: compress

To improve readability, we want to change the framework to support following syntax

A route can be registered with the following syntax

- route: 
    uri: "/list/transactions/:creditCard(:credit-card:)"
    with:
        maxLength: 1024 * 1024
    to: CreditCardService
    after: [ authentication, monitoring ]
    then: compress

Check routesManager to find the relevant code. Please updates the tests accordingly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions