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

Fix update destination #3604

Merged
merged 1 commit into from
Nov 10, 2022
Merged

Fix update destination #3604

merged 1 commit into from
Nov 10, 2022

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Nov 9, 2022

Summary

Start with the existing data so that we don't lose values for fields that
are not updated. We have 3 non-update fields now: CreatedAt,
LastSeenAt, and Kind.

Also remove the extra logic in the data layer, we no longer need this
now that we're handling it properly in the API. This allows the
update operation for destination to look like all the other update
operations.

Also adds test cases for the UpdateDestination API endpoint.

Related Issues

Resolves #3594

Start with the existing data so that we don't lose values for fields that
are not updated. We have 3 non-updated fields now: CreatedAt,
LastSeenAt, and Kind.

Also remove the extra logic in the data layer, we no longer need this
now that we're handling it properly in the API.  This allows the
update operation for destination to look like all the other update
operations.

Also add tests for the API endpoint.
Copy link
Collaborator

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, hopefully this fixes the slow connector issue

@dnephin dnephin merged commit eb0e5ba into main Nov 10, 2022
@dnephin dnephin deleted the dnephin/fix-update-destination branch November 10, 2022 16:39
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.

Initial connected status takes 6 minutes
2 participants