Skip to content

[Enhancement]: nextLink Relative Path Response Enhancement #1936

@Chr0no591

Description

@Chr0no591

What happened?

We are currently grappling with the challenge of receiving a relative nextLink path in the form of http(s)://domain.com/path?queries. To address this, we request the implementation of a feature that allows us to obtain only the relative path with queries, excluding the HTTP(S) protocol and domain, like /path?queries. This feature has been discussed in a related question in the Q&A from April 2023; for more details, refer to:
#1447.

To enhance flexibility, we propose implementing a feature with a toggle and configuration option, enabling developers to specify the format of the nextLink response they wish to receive.

Feature Proposal:

  • Toggle and Configuration: Introduce a toggle and configuration option to control the nextLink response format.

Configuration Details:
The configuration can be set in the dab-config.json file:

{
  "nextLinkRelative": true // Set to true for relative path only
  "pattern": "domain/path?queries" // or "https://domain/path?queries" it could be a regex pattern or fix
}

Version

0.5.35

What database are you using?

MS SQL

Code of Conduct

  • I agree to follow this project's Code of Conduct

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    configchanges related to configenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions