Skip to content

Conversation

@rihp
Copy link
Contributor

@rihp rihp commented Nov 8, 2022

Initially we had a ClientConfig base class with a list of Environments, and a list of interfaces,

@dataclass(slots=True, kw_only=True)
class ClientConfig:
    envs: List[Env] = field(default_factory=list)
    interfaces: List[InterfaceImplementations] = field(default_factory=list)
    resolver: IUriResolver

Both of these fields are now being changed to a Dictionary for simpler client configuration.

@dataclass(slots=True, kw_only=True)
class ClientConfig:
    envs: Dict[Uri, Env: Dict[str, Any]] = field(default_factory=dict) 
    interfaces: Dict[Uri, List[Uri]]
    resolver: IUriResolver

This changes break some of the client functionality, working on those fixes now

@rihp
Copy link
Contributor Author

rihp commented Nov 10, 2022

Closing in favor of #44

@rihp rihp closed this Nov 10, 2022
@rihp rihp deleted the rihp/clientconfig-update branch November 16, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants