-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add settings 'write-back' capability (Singer SDK) #106
Comments
This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the |
@edgarrmondragon I implemented a version of this with the SDK in tap-gohighlevel.
I honestly didnt spend a lot of time thinking through the cleanest way to pass this stuff around so let me know if theres a better approach. |
Thanks for sharing the implementation @pnadolny13!
Yeah, I hadn't thought about it but more multiple That's a not a problem for Meltano because it always uses a (single) config file under the hood, and I'm willing to bet close to no one uses multiple That implementation does not seem to handle cases where
Cool! Though I don't particularly love
This combination makes me want to add a hook somewhere in the SDK that lets developers send a signal that the input config file should be updated. I think the implementation makes sense, since it works well with Meltano's standard config location (as opposed to writing back to an arbitrary file) and it gives a reference implementation to adapt upstream here. Unfortunately meltano/meltano#2660 is certainly harder to reason about and implement, but we can get something out for the SDK with this as a start. |
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/106
Originally created by @aaronsteers on 2021-04-15 21:08:05
Related to similar issue for Meltano: https://gitlab.com/meltano/meltano/-/issues/2710
Some tap and target implementations use a writeback method (we think?) to store settings (such as auth tokens) back in the
config.json
file for future use.There's currently no similar way for a tap developer using the SDK to write back settings for use in future invocations.
Wanted:
For this issue, we are currently gaging feedback and asking for developers to provide use cases if this is a blocker for them. If this affects you, please post to the comments.
Related
The text was updated successfully, but these errors were encountered: