GraphQL Wire Adapter for LWC

The Lightning Web Components (LWC) framework implements core Web Components standards to enable developers to create reusable components on the Salesforce platform using standard HTML, JavaScript, and CSS. You can work with Salesforce data via Lightning Data Service, which is available to your components via base components like lightning-record-form or via wire adapters and functions.

With the GraphQL wire adapter, you can query Salesforce data using SOQL-like queries with functionalities like filtering and data aggregation. Lightning Data Service manages your data and you don’t need different wire adapters for each query defined in the GraphQL schema, unlike the other LWC wire adapters. The extensive benefits of using the GraphQL wire adapter simplify and speed up access to your Salesforce data from your LWC web components and mobile apps.

codeLive: How to Work with GraphQL Wire Adapter for LWC

Lightning Web Components Dev Guide: lightning/uiGraphQLApi Wire Adapters and Functions

Salesforce Developers' Blog: Explore the GraphQL Wire Adapter, Now in Beta

Salesforce Developers' Blog: Now in Pilot: GraphQL Wire Adapter for LWC