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

predicates with false as object are not being returned in query results #522

Closed
dpetran opened this issue Jul 5, 2023 · 3 comments
Closed
Assignees
Labels
bug Something isn't working as expected

Comments

@dpetran
Copy link
Contributor

dpetran commented Jul 5, 2023

(def conn @(fluree/connect {:method :memory}))
(def ledger @(fluree/create conn "unions" {:defaultContext test-utils/default-str-context}))

(def db0 (fluree/db ledger))

(def db1 @(fluree/stage db0 {"@context" [{"ex" "http://example.com/"}]
                               "@id" "ex:foo"
                               "ex:isTrue" true
                               "ex:isFalse" false}))

@(fluree/query db1 {"@context" [{"ex" "http://example.com/"}]
                      "select" {"?s" ["*"]}
                      "where" [["?s" "@id" "ex:foo"]]})
;; actual
[{"@id" "ex:foo", "ex:isTrue" true}]
;; expected
[{"@id" "ex:foo", "ex:isTrue" true, "ex:isFalse" false}]
@dpetran dpetran added the bug Something isn't working as expected label Jul 5, 2023
@dpetran
Copy link
Contributor Author

dpetran commented Jul 5, 2023

Fix in #505

@JaceRockman
Copy link
Contributor

@dpetran Can this ticket be closed? It looks like the issue was fixed but you still have it assigned to you. Just wanted to make sure that wasn't for a purpose.

@dpetran
Copy link
Contributor Author

dpetran commented Mar 15, 2024

Yeah, this has been fixed for a while.

@dpetran dpetran closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants