Skip to content

W-16620689 Add md files for [LWC Auth Debug] LSP to reduce OOM issues story #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading