Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Find more elegant way to call baseURL #2

@gotev

Description

@gotev

Up to this point if we set baseUrl = https://www.server.com/api and we have an API which needs to call the baseURL, we need to write a func like this:

func getRoot() -> Single<Root> {
    return request(url: absoluteURL(""))
}

absoluteURL("") is really ugly, we should find a more elegant way

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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