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

Vocabulary API: document loader inheritance #27

Closed
dahlia opened this issue Mar 31, 2024 · 0 comments
Closed

Vocabulary API: document loader inheritance #27

dahlia opened this issue Mar 31, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dahlia
Copy link
Owner

dahlia commented Mar 31, 2024

Currently, to properly apply remote document loading strategy, we need to explicitly specify a document loader every time. It would be more ergonomic if the document loader is inherited, e.g.:

const object = undo.getObject(ctx);
assert(object instanceof Follow);
const actor = object.getActor(); // loaded using ctx
@dahlia dahlia added the enhancement New feature or request label Mar 31, 2024
@dahlia dahlia self-assigned this Mar 31, 2024
@dahlia dahlia closed this as completed in 1b6dd6d Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant