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

Refactor / Communicator creation and updates #1707

Conversation

RodriSanchez1
Copy link
Collaborator

@RodriSanchez1 RodriSanchez1 commented Jun 7, 2024

On this PR:

  • A new function verifyAndUpsertCommunicator() was created. This function checks if the logged user has his own communicator, and if is not creates one. After that, the communicator is upserted. Note that this function is just for upsert the local store.
  • Implement the upsertApiCommunicator() when is necessary

close #1701

@RodriSanchez1 RodriSanchez1 added this to the 1.34.0 milestone Jun 19, 2024
@RodriSanchez1 RodriSanchez1 marked this pull request as ready for review June 19, 2024 23:15
@RodriSanchez1 RodriSanchez1 changed the title Refactor/implementUpsertApiCommunicator Refactor / Communicator creation and updates Jun 19, 2024
Copy link
Collaborator

@tomivm tomivm left a comment

Choose a reason for hiding this comment

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

Good job!! it's more legible and easy to understand now. We have to be careful while merging the rest of the PR because of the modifications in updateApiObjects and updateApiObjectsNoChild. We have to do an exhaustive test to avoid unexpected behaviors 🚀

@RodriSanchez1 RodriSanchez1 merged commit cd351ad into cboard-org:master Jun 26, 2024
5 checks passed
@RodriSanchez1 RodriSanchez1 deleted the refactor/implementUpsertApiCommunicator branch June 26, 2024 20:49
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.

Implement the upsertApiCommunicator action
2 participants