Skip to content

Extend wrapper in named graph feature - #63

Merged
langsamu merged 5 commits into
feat/named-graph-selectorfrom
extend_wrapper
Apr 14, 2026
Merged

Extend wrapper in named graph feature#63
langsamu merged 5 commits into
feat/named-graph-selectorfrom
extend_wrapper

Conversation

@langsamu

@langsamu langsamu commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

Align #62 with the rest of the library.

The best place to start a review might be the revised tests, which are almost the same, but highlight the differences well.

@langsamu
langsamu marked this pull request as ready for review April 13, 2026 21:42
@langsamu

Copy link
Copy Markdown
Collaborator Author

Forgot to adjust the README.

@jeswr jeswr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very elegant. Approved - noting that README still requires updating.

Comment on lines +18 to +23
class SomeDataset extends DatasetWrapper {
get namedGraph(): NamedGraphDataset {
return this.named(graph, NamedGraphDataset)
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is an elegant usage. Please make sure an example like this finds its way into the docs.

@langsamu
langsamu merged commit 04e7e9c into feat/named-graph-selector Apr 14, 2026
7 checks passed
@langsamu
langsamu deleted the extend_wrapper branch April 14, 2026 22:07
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.

2 participants