Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Append property id to anyvalue to avoid clashes #150

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Conversation

Ladsgroup
Copy link
Contributor

When several properties have been chosen with "regardless of value"

Bug: T271903

When several properties have been chosen with "regardless of value"

Bug: T271903
@Ladsgroup Ladsgroup requested review from guergana and micgro42 and removed request for guergana January 14, 2021 00:16
} );

it( 'builds a query from multiple conditions, one matching and one regardless', () => {
const expectedQuery =
`SELECT ?item WHERE {
?item (p:P666/ps:P666) "blah".
?item (p:P66/ps:P66) _:anyValue.
?item (p:P66/ps:P66) _:anyValueP66.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can there be the case that a user searches for the same property in two different conditions? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently no, we might have it once we have nesting but that requires a much bigger refactor.

@Ladsgroup Ladsgroup merged commit b70fd7e into master Jan 14, 2021
@Ladsgroup Ladsgroup deleted the anyvalue branch January 14, 2021 10:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants