Skip to content

Comments

fix: correct remaining source-accuracy issues#6

Merged
Taure merged 1 commit intomainfrom
fix/source-accuracy-round2
Feb 24, 2026
Merged

fix: correct remaining source-accuracy issues#6
Taure merged 1 commit intomainfrom
fix/source-accuracy-round2

Conversation

@Taure
Copy link
Contributor

@Taure Taure commented Feb 24, 2026

Summary

Round 2 of cross-referencing all chapters against Nova/Kura source code. Covers the 14 chapters not reviewed in PR #5.

  • JSON controllers in changesets.md, advanced-data.md, pubsub.md: paramsjson for decoded JSON bodies (same class of bug as PR fix: correct code examples against Nova/Kura source #5)
  • Auth test examples in testing.md: nova_test_req:with_json/2 sets the json key, but username_password/1 matches on params (URL-encoded form data). Fixed to set params directly on the request map.
  • validate_format regex: string → binary per Kura spec (changesets.md + cheat-sheet.md)

Chapters reviewed with no issues found

introduction.md, create-app.md, routing.md, plugins.md, setup.md, associations.md, transactions-bulk.md, deployment.md, openapi-tools.md, opentelemetry.md

Test plan

  • Verify each modified code example is consistent within its chapter
  • Cross-reference against Nova, Kura source

🤖 Generated with Claude Code

- JSON controllers in changesets.md, advanced-data.md, pubsub.md use
  `json` key (not `params`) for decoded JSON bodies
- Auth tests in testing.md set `params` directly on the request map
  instead of using `with_json` (which sets the `json` key, not `params`)
- validate_format regex patterns use binary syntax per Kura spec

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Taure Taure merged commit 84ea3b7 into main Feb 24, 2026
1 check passed
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