Skip to content

Conversation

simontaurus
Copy link
Contributor

@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
Member

@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

@krabina krabina added this to the 5.0.0 milestone Feb 27, 2025
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
5 participants