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

Allow for client instances instead of using global variables #10

@kvindascr

Description

@kvindascr

Is there a reason why the config is a global variable?

This scheme makes it difficult to create different connections, as the config is centralized and there is no way to override it.

It is relatively insecure or at least not ideal to be replacing the config to be able to keep different connections.

I would like to recommend having an approach where you can create a client instance with a configuration and set of parameters.

This will allow the user to create diverse connections on the same node instance if required.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions