You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Proposed Changes
- Rewrite JSDocs for more clear usage of the API
- Change `QueryBuilderCallback` to `BuildQuery` for better understanding
- Overload `query` method to support both `string` and `buildQuery`
callback
- Change folders from `content/methods/get-collection` to
`content/builders/collection`
- Change `GetCollection` to `CollectionBuilder`
- Now you can call `then` method directly from the builder or use
async/await without further calls of methods
- Overall enhance of naming and code docs
- Overall enhance of errors
## Example of how to fetch content
```typescript
client.content.getCollection("Blog").then((res) => {
console.log(res);
});
const blogsResponse = await client.content.getCollection("Blog").language(2).depth(2);
```
Parent Issue
#28415
Tasks
Proposed Objective
Technical User Experience
Proposed Priority
Priority 3 - Average
Acceptance Criteria
All tasks mentioned above should be done.
Assumptions & Initiation Needs
The text was updated successfully, but these errors were encountered: