Skip to content

Consolidate duplicate Resource Static Methods section#492

Merged
kriszyp merged 2 commits into
mainfrom
kris/cool-carson-7a450c
May 22, 2026
Merged

Consolidate duplicate Resource Static Methods section#492
kriszyp merged 2 commits 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 github-actions Bot temporarily deployed to pr-492 May 20, 2026 21:07 Inactive
@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.

Copy link
Copy Markdown
Member

@Ethan-Arrowood Ethan-Arrowood left a comment

Choose a reason for hiding this comment

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

Just need to be formatted.

@github-actions github-actions Bot temporarily deployed to pr-492 May 22, 2026 12:12 Inactive
@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.

@kriszyp kriszyp merged commit 3075e67 into main May 22, 2026
7 checks passed
@kriszyp kriszyp deleted the kris/cool-carson-7a450c branch May 22, 2026 12:37
@github-actions
Copy link
Copy Markdown

🧹 Preview Cleanup

The preview deployment for this PR has been removed.

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