Skip to content

Commit

Permalink
fix: update warning msg for apex to guide the user to use graphql (#85)
Browse files Browse the repository at this point in the history
* fix: update warning msg for apex to guide the user to use graphql

* prettier
  • Loading branch information
ben-zhang-at-salesforce authored Nov 13, 2024
1 parent 4bf77d3 commit 32dac44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/apex/apex-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const rule = ESLintUtils.RuleCreator.withoutDocs({
meta: {
docs: {
description:
'Using Apex in LWC Offline-enabled mobile apps requires additional considerations to ensure proper functioning in offline scenarios. See Use Apex While Mobile and Offline (https://developer.salesforce.com/docs/atlas.en-us.mobile_offline.meta/mobile_offline/apex.htm) for more details.'
'Using Apex in LWC Offline-enabled mobile apps requires additional considerations to ensure proper functioning in offline scenarios. See Use Apex While Mobile and Offline (https://developer.salesforce.com/docs/atlas.en-us.mobile_offline.meta/mobile_offline/apex.htm) for more details. GraphQL API is a new paradigm of sending and receiving data. This API allows developers to interact with the Salesforce Platform through GraphQL, a standard query language for APIs and a runtime for fulfilling those queries with your data. Learn more about creating SOQL queries with GraphQL that may work better for mobile offline use cases. https://developer.salesforce.com/docs/platform/graphql/guide/graphql-wire-lwc.html'
},
messages: {
[APEX_IMPORT_RULE_ID]:
Expand Down

0 comments on commit 32dac44

Please sign in to comment.