diff --git a/src/lsp/docs/adapters-local-change-not-aware.md b/src/lsp/docs/adapters-local-change-not-aware.md new file mode 100644 index 0000000..588ca9e --- /dev/null +++ b/src/lsp/docs/adapters-local-change-not-aware.md @@ -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. \ No newline at end of file diff --git a/src/lsp/docs/over-sized-record.md b/src/lsp/docs/over-sized-record.md new file mode 100644 index 0000000..1300a43 --- /dev/null +++ b/src/lsp/docs/over-sized-record.md @@ -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. \ No newline at end of file