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

url for link language expressions #40

Open
weswalla opened this issue Apr 25, 2022 · 1 comment
Open

url for link language expressions #40

weswalla opened this issue Apr 25, 2022 · 1 comment

Comments

@weswalla
Copy link
Contributor

I think that being able to treat link expressions like any other language expression, meaning having a url that can itself be referenced in a link, would enable more contextual semantic relationships between expressions.

@leifriksheim
Copy link

I support this. It would be very ergonomic to be able to do:

await ad4mClient.perspective.removeLink(perspectiveUuid, linkUrl);

and updating links based on a URL, only specifying the triplet(s) you need to update.

await ad4mClient.perspective.updateLink(perspectiveUuid, linkUrl, { target: "My username",  });

A problem we have in Flux right now is that we usually transform the Link response to our data structure, but to remove a link we still need to hold a reference to the whole link response.

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

No branches or pull requests

2 participants