Skip to content

Align the batch docs and changelog with the Node and Python SDKs - #70

Merged
vigneshwerv merged 1 commit into
update-sdk-queries/31622934716from
docs/align-with-sibling-sdks
Aug 12, 2026
Merged

Align the batch docs and changelog with the Node and Python SDKs#70
vigneshwerv merged 1 commit into
update-sdk-queries/31622934716from
docs/align-with-sibling-sdks

Conversation

@vigneshwerv

Copy link
Copy Markdown
Contributor

The batch section led with a hand-written nested hash and pushed typed payloads into a second section, so the first thing a reader copied was the form we tell them not to use. node-client and fragment-python both lead with the typed payload, link the batch guide, and close with one line on where the payloads come from — this matches that shape.

The Ruby-specific material that neither sibling documents (unset vs nil, set?, offline TypedEntries.load, the AddLedgerEntriesError union handling) is kept, moved into the section that follows rather than deleted.

Links

Added the guide links the sibling READMEs carry and this one was missing:

Section Link
Post a Ledger Entry post-ledger-entries#post-to-the-api
Post a batch post-ledger-entries#batch-ledger-entries
Sync Transactions sync-payments#custom-link
Reconcile a Transaction reconcile-payments#reconcile-a-tx
Ledger Account with Balance read-balances#latest

Also adds the See CHANGELOG.md pointer fragment-python carries. All eight README links were checked for a 200, and every anchor was confirmed present in the live page HTML.

Changelog

Adds the Keep a Changelog preamble both siblings use, naming the gem and noting that releases prior to 2.0.0 predate the changelog. The two batch entries pick up the siblings' shared wording, including why GraphQL cannot type each entry's parameters individually. The 2.0.0 section already matched theirs exactly and is untouched.

Verified

  • README's batch example constructs against the real SDK and serialises as expected
  • rake test 94 runs, 0 failures; rubocop clean
  • Fixed a comment in add_ledger_entries_test.rb that claimed the raw hash was "the first example in the README", which this change makes false

@vigneshwerv
vigneshwerv force-pushed the docs/align-with-sibling-sdks branch from 7bd949e to c5eea04 Compare August 12, 2026 17:33
@vigneshwerv
vigneshwerv changed the base branch from dev to update-sdk-queries/31622934716 August 12, 2026 17:33
The batch section led with a hand-written nested hash and pushed typed
payloads into a second section, so the first thing a reader copied was the
form we tell them not to use. The Node and Python READMEs both lead with the
typed payload, link the batch guide, and close with one line naming the
payloads. This matches that shape, and drops the surrounding prose --
atomicity and union handling, unset vs nil, value equality -- that neither
sibling documents. 95 lines to 34; theirs are 29.

Adds the guide links the sibling READMEs carry and this one was missing:
post-to-the-api, batch-ledger-entries, sync-payments#custom-link,
reconcile-payments#reconcile-a-tx and read-balances#latest. Every link and
anchor was checked against the live docs.

The changelog gains the Keep a Changelog preamble both siblings use, and the
two batch entries pick up their shared wording. The 2.0.0 section already
matched.
@vigneshwerv
vigneshwerv force-pushed the docs/align-with-sibling-sdks branch from c5eea04 to ba913cb Compare August 12, 2026 17:51
@vigneshwerv
vigneshwerv merged commit 0fe770e into update-sdk-queries/31622934716 Aug 12, 2026
4 checks 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