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

support query-string t val in from, from-named #56

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

Conversation

bplatz
Copy link
Contributor

@bplatz bplatz commented Apr 24, 2024

Incorporates the new query-string t value syntax in fluree/db as per this PR:
fluree/db#761

The functionality is exposed through the /query API allowing query from and from-named keys to specify t values as per the following example:

  • my/db?t=42
  • my/db?t=2020-01-01T00:00:00Z

Adds a test

@bplatz bplatz requested a review from a team April 24, 2024 22:51
@@ -64,6 +64,51 @@
(is (= {"ledger" ledger-name, "t" 2}
(-> res :body json/read-value (select-keys ["ledger" "t"])))))))

(deftest ^:integration ^:json transaction-with-dbs-at-multiple-t-values
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this test could use more English commentary through more nested testing macros and/or using the third, msg argument of the is macro.

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.

2 participants