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

handle SPARQLStore backends #861

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

simontaurus
Copy link

@simontaurus simontaurus commented Nov 12, 2024

fixes #827
See also SemanticMediaWiki/SemanticMediaWiki#5748

With the next SMW release including SemanticMediaWiki/SemanticMediaWiki@8bfd7a9 the Closure can be removed

Copy link
Contributor

@alistair3149 alistair3149 left a comment

Choose a reason for hiding this comment

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

Since $this->datatables->store is used multiple time, maybe it should be set as a variable instead.

I'm not familiar with SPARQLStore so I can't review the PR, perhaps @thomas-topway-it can take a look at it.

@JeroenDeDauw
Copy link
Member

If I understand correctly, we can close this, since the issue will be fixed by SMW 5.0 anyway (via SemanticMediaWiki/SemanticMediaWiki@8bfd7a9).

Since $this->datatables->store is used multiple time, maybe it should be set as a variable instead.

I would consider doing so adding accidental complexity

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.

[datatables] ($store) must be of type SMW\SQLStore\SQLStore, SMW\SPARQLStore\SPARQLStore given
4 participants