Reuben (Matatika)
03/28/2022, 7:20 PM{
"error": "something went wrong"
}
{
"error": {
"message": "something went wrong"
}
}
Example 2:
{
"scope": "profile email connect"
}
{
"scope": [
"profile"
"email",
"connect"
]
}
Up to now, we have been using Stream::post_process
to unify record property types. This works, but doesn’t feel like a great solution to scale and maintain in the future. Ideally the API would return data in a consistent format - that would be great!
Is this something the tap should be responsible for, or does it suit a target (or even a mapper) more?
Context:
• https://github.com/Matatika/tap-auth0/pull/4
• https://github.com/Matatika/tap-auth0/pull/5