Skip to content

Commit

Permalink
Merge branch 'main' into mdFileLink4Diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed Dec 11, 2024
2 parents ea83b35 + 09402f8 commit 7df0581
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lsp/docs/adapters-local-change-not-aware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# adapters-local-change-not-aware

The wire adapters `getRelatedListRecords` and `getRelatedListCount` work with records while offline. However, those wire adapters won't update the related list to add or remove records that are created or deleted while offline.

As an alternative to using `getRelatedListRecords`, use GraphQL to create a related list that supports records that are created or deleted while offline.

Currently, there isn't a GraphQL equivalent to `getRelatedListCount` that works offline.

See [Parent-to-Child Relationships](https://developer.salesforce.com/docs/platform/graphql/guide/filter-parent.html#parent-to-child-relationships) in the GraphQL API Developer Guide for more details.
9 changes: 9 additions & 0 deletions src/lsp/docs/over-sized-record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# over-sized-record

Creating queries that request a large number of fields or large size fields could result in large data sizes (32 KB) that negatively affect mobile app performance, and potentially result in fewer returned records than expected.

To prevent potential performance issues:
- Modify your query to request fewer than 100 fields.
- Avoid requesting Base 64-encoded fields.
- Avoid requesting 5 text area fields.
- Avoid requesting related lists.

0 comments on commit 7df0581

Please sign in to comment.