Skip to content
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 dataConnections metadata, fix updaterId on prospects #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MarkEstey
Copy link

Description of change

The main change is that I added the "dataConnections" metadata for objects that support it, as this is extremely useful to map objects to other 3rd party platforms that Outreach is integrated with such as Salesforce.

Additionally I included a fix for issue #20 however this fix is different than the pull request already outstanding. The current pull request to fix this issue simply allows the relationship value to override the new attributes, however I instead remove the relationship for "updater" from the prospect schema and add the new attributes "updaterId" and "updaterType" instead. The relationship appears to only return an ID value when the updater is a user and null when it is not a user, however the new attributes appear to give the ID of any object that update the object including but not limited to users. Any downstream logic such as joins using "updaterId" that assume it is always contains a user ID would now need to check the "updaterType" attribute to see if it's a user or not.

Manual QA steps

  • Run a refresh of data using the new schemas and check the results.

Risks

  • Could impact downstream logic that relies on "updaterId" always being a user ID value.

Rollback steps

  • revert this branch

@singer-bot
Copy link

Hi @MarkEstey, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@singer-bot
Copy link

You did it @MarkEstey!

Thank you for signing the Singer Contribution License Agreement.

@seanlally
Copy link
Contributor

Any update on this? I'll retract my PR i just want the integration to be working again. as long as one of the two works can we please get one reviewed and merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants