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

poc: add associations logic #1314

Closed
wants to merge 54 commits into from
Closed

poc: add associations logic #1314

wants to merge 54 commits into from

Conversation

juliannemarik
Copy link
Contributor

  1. Description:

  2. Instructions for testing:

  3. Closes Issues: # (if appropriate)

  4. Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide

  5. used semantic commit messages

  6. PR title follows semantic commit format (CRITICAL if the title is not in a semantic format, the release automation will not run!)

  7. updated peerDependencies as needed. CRITICAL our automated release system can not be counted on to update peerDependencies so we must do it manually in our PRs when needed. See the updating peerDependencies section of the release instructions for more details.

@juliannemarik juliannemarik marked this pull request as ready for review November 3, 2023 18:25
listAssociations(type: AssociationType): IAssociationInfo[] {
return listAssociations(this.entity, type);
}
// async requestAssociation(type: HubEntityType, id: string): Promise<void> {
Copy link
Contributor Author

@juliannemarik juliannemarik Nov 6, 2023

Choose a reason for hiding this comment

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

these association methods are commented out for now because I'm seeing a weird console error that I'm trying to resolve

* @param info
* @param entity
*/
export function addAssociation(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can deprecate this rather than removing it and have it call requestAssociation. addAssociation just didn't feel like the correct naming since it's only establishing half of the connection.

* @param entity
* @returns
*/
export function removeAssociation(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Similarly, I can deprecate this rather than removing it and have it call breakAssociation.

Copy link

There hasn't been any activity on this pull request in the past 3 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. If you want this PR to never become stale, please apply the "Draft" label.

@github-actions github-actions bot added Stale Stale issue - update or it will be closed and removed Stale Stale issue - update or it will be closed labels Nov 13, 2023
Copy link

There hasn't been any activity on this pull request in the past 3 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. If you want this PR to never become stale, please apply the "Draft" label.

@github-actions github-actions bot added the Stale Stale issue - update or it will be closed label Nov 21, 2023
@juliannemarik juliannemarik added Draft Draft PR or Issue (don't mark stale) and removed Stale Stale issue - update or it will be closed labels Nov 21, 2023
@juliannemarik
Copy link
Contributor Author

closing this out - this logic was implemented in a separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Draft Draft PR or Issue (don't mark stale)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant