SAT: correct the record validation check according to the scheme (as an option: add validation that type is not null) #6132
Labels
Acceptance Tests
https://docs.google.com/document/d/1pFLR8eLP5VOj6vDtWe69KZL0aWWHEA6Vkbod6NYJon4/edit#
area/connectors
Connector related issues
type/bug
Something isn't working
Milestone
Tell us about the problem you're trying to solve
Currently, there is a problem that if the stream scheme does not coincide at all with the response, then the validation in SAT tests is successful.
For example, there was a case with the Squaré connector, when initially the scheme was indicated incorrectly and was indicated for the general response from the API, and not for a single record, however, the SAT tests did not catch this moment and did not indicate an error.
An example of the schema here.
Describe the solution you’d like
SAT catches such cases at the moment of testing, and not the reviewer sees it at the moment of code review.
The text was updated successfully, but these errors were encountered: