Skip to content

addRequestIds option not implemented (RSC7c) #2196

@paddybyers

Description

@paddybyers

Spec point

  • RSC7c: "When the `addRequestIds` option is set to true, the library must add a `request_id` query parameter to all REST requests."

Observed behaviour

The `addRequestIds` option is accepted and stored in `client.options` but has no effect. No `request_id` parameter is added to any requests. There is no code referencing this option in the built bundle.

Failing test

Test Expected Actual
`RSC7c - request_id query param when addRequestIds is true` `request_id` query parameter present (UUID format) `request_id` is null

Reproduction

```bash
RUN_DEVIATIONS=1 npx mocha --grep "RSC7c" test/uts/rest/rest_client.test.ts
```

From PR #2191, branch `uts-rest`.

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. It's clear that this does need to be fixed.uts-issueIssues raised there there is an apparent discrepancy between this library and the UTS tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions