Skip to content

Consolidate duplicate Resource Static Methods section#492

Open
kriszyp wants to merge 1 commit into
mainfrom
kris/cool-carson-7a450c
Open

Consolidate duplicate Resource Static Methods section#492
kriszyp wants to merge 1 commit into
mainfrom
kris/cool-carson-7a450c

Conversation

@kriszyp
Copy link
Copy Markdown
Member

@kriszyp kriszyp commented May 20, 2026

Summary

  • The resource-api.md had two consecutive ## Resource Static Methods sections with heavily overlapping content
  • Merged into a single coherent list, net -34 lines

What changed

  • Methods only in the second section (create, update, sourcedFrom, primaryKey, setComputedAttribute, getRecordCount) are now in the unified section with their full detail
  • get and search signatures updated to include the Query overload (previously only in the second section)
  • put dual overloads collapsed into one entry with both signatures shown
  • Fixed getRecordCount version badge: was v4.2.0, corrected to v4.5.0 per the source comment at the top of the file pointing to release-notes/v4-tucker/4.5.0.md
  • allowStaleWhileRevalidate removed from the static methods list — it is an instance override method and already documented correctly under Resource Instance Methods

Reviewer notes

The ordering within the merged section follows: CRUD verbs → creation helpers → messaging/streaming → caching → metadata/schema → context/operations.

🤖 Generated with Claude Code

The doc had two back-to-back "Resource Static Methods" sections with
overlapping content. Merged into a single coherent list that:
- Incorporates methods only in the second section (create, update,
  sourcedFrom, primaryKey, setComputedAttribute, getRecordCount)
- Upgrades get/search/put signatures with the Query overload
- Consolidates put overloads into one entry
- Fixes getRecordCount version badge (v4.2.0 → v4.5.0 per release notes)
- Moves allowStaleWhileRevalidate to instance methods only (it is an
  instance override, not a static method)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kriszyp kriszyp requested a review from a team as a code owner May 20, 2026 21:05
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-492

This preview will update automatically when you push new commits.

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