-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
In #93 I decided to run the tap thru a simple target target-sqlite to see if the new streams I added worked.
By doing this, I instantly found mistyped fields in the Events stream.
Example error:
CRITICAL '20730626430' is not of type 'integer', 'null'
CRITICAL
CRITICAL Failed validating 'type' in schema['properties']['id']:
CRITICAL {'type': ['integer', 'null']}
CRITICAL
CRITICAL On instance['id']:
CRITICAL '20730626430'
I think this would be a great testing method to ensure our schemas are correctly typed.
Possibly a new step that runs:
poetry run tap-github --config c.json --catalog ca.json | poetry run target-sqlite -c sq.json and crashes if the exit code is non-zero.
Thoughts on implementing this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels