Skip to content

api client constructor should check whether the base URL is set before trying to set it in ruby #1647

@baywet

Description

@baywet

The generation process should include an if statement that reads the current base url and only sets it when empty.
https://github.com/microsoft/kiota-samples/blob/092356cbaeb09fc2e3632ce2fee3db116b4c9fbc/msgraph-mail/ruby/graphrubyv4/api_client.rb#L35

This is to avoid overwriting another URL that might have been set on the request adapter prior to instantiating the client.

#1443

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions