Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Adaptor configs are too opaque #21

Closed
nstott opened this issue Dec 22, 2014 · 1 comment
Closed

Adaptor configs are too opaque #21

nstott opened this issue Dec 22, 2014 · 1 comment

Comments

@nstott
Copy link
Contributor

nstott commented Dec 22, 2014

There's no way to query adaptors for their configuration options.
Adaptors take very specific flags in their config and we need to expose them to any commands.
My current thoughts is that the adaptor package should have a config registry, just as it has a registry of constructors.
Each config struct can then document itself via reflection tags, something like

type WhateverConfig struct {
    Uri string `json:"uri" transporter:"the uri to use to connect"`
}

this will address some of the concerns raised in #12

@jipperinbham
Copy link
Contributor

Fixed via #22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants