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

Consider using LinkTypes for forward and backward links #61

Open
harlantwood opened this issue Mar 17, 2023 · 2 comments
Open

Consider using LinkTypes for forward and backward links #61

harlantwood opened this issue Mar 17, 2023 · 2 comments

Comments

@harlantwood
Copy link
Member

No description provided.

@dauphin3 dauphin3 self-assigned this Mar 22, 2023
@dauphin3 dauphin3 linked a pull request Mar 22, 2023 that will close this issue
@dauphin3
Copy link
Collaborator

I like this idea, I'm wondering if it would be useful to allow for variants instead of just unit types for the LinkTypes enum and submitted an issue to HC requesting this

reasoning is that we could have different type/labels for links to distinguish between things

we could add an All variant to LinkDirection

ex:
#[hdk_link_types]
pub enum LinkTypes {
Agent(LinkDirection),
TrustAtom(LinkDirection),
Perspective(LinkDirection),
Neighborhood(LinkDirection)
}

etc etc

@dauphin3
Copy link
Collaborator

maybe this is not useful or necessary, but just a thought inquiry

@dauphin3 dauphin3 removed a link to a pull request Mar 22, 2023
@dauphin3 dauphin3 linked a pull request Apr 21, 2023 that will close this issue
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 a pull request may close this issue.

2 participants