-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specgen #211
Conversation
* specgen spike * start nicer rewrite of specgen * support for parsing builtin params * support for time.Duration * support types in different packages * support underlying type * better tests * specgen specification parsing and default overwriting * add support for destinations * fix test * add parsing and validation of config * adjust most destination tests --------- Co-authored-by: Haris Osmanagic <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hariso looking great. Let me know if you need me to approve ahead of time in case you need to release it while other people is away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving ahead of time to unblock @hariso
specgen is a tool that builds a YAML that contains all the important information about a connector. The file, called
connector.yaml
, is build from the source and destination configuration structs of a connector.This code combines the code from #198 (which is the major part) plus some additional tests.
A detailed description of
specgen
can be found here: #198.