-
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
Reduce noise from 'ignored properties' warnings #383
Labels
Accepting Pull Requests
kind/Feature
New feature or request
migrated from gitlab
OKR: New User Experience
stale
urgency/Low
valuestream/Meltano
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Accepting Pull Requests
kind/Feature
New feature or request
migrated from gitlab
OKR: New User Experience
stale
urgency/Low
valuestream/Meltano
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/386
Originally created by @aaronsteers on 2022-05-18 03:42:17
The SDK prints warnings for every field that the API returns but is not mapped to the stream's
schema
. We can do a couple things to reduce the noisiness of logs.Consolidate warnings into a single message per stream
Instead of:
We could send a single message:
Pytest failures
We could have a (perhaps optional) pytest that throws a hard test failure during development, if extra properties are unmapped and not explicitly excluded.
We could optionally pair this with a new stream class property
ignored_properties
which would be functionally identical to the developer adding this topost_process()
:The text was updated successfully, but these errors were encountered: