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

Correctly process Variables contained in UNION and OPTIONAL #688

Merged
merged 5 commits into from
Dec 12, 2017

Conversation

tobiasschweizer
Copy link
Contributor

@tobiasschweizer tobiasschweizer commented Dec 11, 2017

When processing the results of a prequery, some values may be optional (OPTIONAL and UNION).

We actually do not have to know whether a value was in a UNION or an OPTIONAL when processing the prequery's results because this is all handled in the prequery's WHERE clause. If a value was expected but not returned, the whole resource would not have been returned and would not be available for processing.

closes #686

@tobiasschweizer tobiasschweizer self-assigned this Dec 12, 2017
@tobiasschweizer tobiasschweizer added API/V2 breaking any breaking change bug something isn't working labels Dec 12, 2017
@tobiasschweizer tobiasschweizer added this to the API V2 milestone Dec 12, 2017
Copy link

@benjamingeer benjamingeer left a comment

Choose a reason for hiding this comment

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

Du warst der Sache gewachsen!

@tobiasschweizer tobiasschweizer merged commit b356c13 into develop Dec 12, 2017
@tobiasschweizer tobiasschweizer deleted the fix/KnarQL_UNION_OPTIONAL branch December 12, 2017 15:13
@subotic subotic modified the milestones: API V2, v1.2.0 Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API/V2 breaking any breaking change bug something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KnarQL: handling of statements in OPTIONAL and UNION
3 participants