Skip to content

sudo functionality is inconvenient #118

@slonopotamus

Description

@slonopotamus

Currently, GitLabApi mutates itself when caller wants to use sudo functionality, but.

  1. This cannot be safely used in multithreaded environment
  2. GitLabApi doesn't provide any means to clone its instance (so cloned one would be mutated for sudo and original one kept untouched)

Ideally, sudo should be configurable per-request, giving the same flexibility that is available if user doesn't use gitlab4j-api at all and directly issues HTTP requests to GitLab, without modifying GitLabApi instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions