Consolidate duplicate Resource Static Methods section#492
Open
kriszyp wants to merge 1 commit into
Open
Conversation
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>
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-492 This preview will update automatically when you push new commits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resource-api.mdhad two consecutive## Resource Static Methodssections with heavily overlapping contentWhat changed
create,update,sourcedFrom,primaryKey,setComputedAttribute,getRecordCount) are now in the unified section with their full detailgetandsearchsignatures updated to include theQueryoverload (previously only in the second section)putdual overloads collapsed into one entry with both signatures showngetRecordCountversion badge: wasv4.2.0, corrected tov4.5.0per the source comment at the top of the file pointing torelease-notes/v4-tucker/4.5.0.mdallowStaleWhileRevalidateremoved from the static methods list — it is an instance override method and already documented correctly under Resource Instance MethodsReviewer notes
The ordering within the merged section follows: CRUD verbs → creation helpers → messaging/streaming → caching → metadata/schema → context/operations.
🤖 Generated with Claude Code