8000 Let the developer page call every method of Database by dominion525 · Pull Request #107 · dominion525/jetdb · GitHub
[go: up one dir, main page]

Skip to content

Let the developer page call every method of Database - #107

Merged
dominion525 merged 2 commits into
mainfrom
feature/wasm-check-page
Oct 21, 2026
Merged

dominion525 merged 2 commits into
mainfrom
feature/wasm-check-page

Conversation

@dominion525
Copy link
Copy Markdown
Owner

Summary

  • The developer page of jetdb-wasm (crates/jetdb-wasm/examples/index.html) showed the version and the tables only. Call now runs any method of Database on the open file, with an argument and options as JSON, and shows what it returns as JSON, with the number and first 16 of bytes and an n after a BigInt. The open Database is kept until the next file is opened
  • The Playwright tests check that the page lists every method of Database, so that a new method left off the page fails them, call the 22 methods with the test data of smoke.mjs, and check the error of a call, in Chromium, Firefox and WebKit
  • Tell of the page and the tests in docs/ci (en/ja), and put the comment of set in js.rs back over set

🤖 Generated with Claude Code

dominion525 and others added 2 commits October 21, 2026 14:07
- The page showed the version and the tables only; Call now runs a method chosen on the open file, with an argument and options as JSON, and shows what it returns as JSON, with the number and first 16 of bytes and an n after a BigInt
- Keep the open Database until the next file is opened
- The Playwright tests check that the page lists every method of Database, call the 22 with the test data of smoke.mjs, and check the error of a call; all 36 pass in the three browsers
- Tell of the page and the tests in docs/ci (en/ja)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Adding name_and_type in PR #105 between set and its comment made that line open the comment of name_and_type, and left set without one

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dominion525
dominion525 merged commit 8d98c2a into main Oct 21, 2026
10 checks passed
@dominion525
dominion525 deleted the feature/wasm-check-page branch October 21, 2026 06:08
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.

1 participant

0