Zum Inhalt springen
Kitbay

experience-lds-graphql-generate

Apache-2.0Aktualisiert am 6. Nov. 20261.156GitHub-SterneEnthält Skripte

A Salesforce skill for building Lightning Web Components that use the Lightning Data Service GraphQL API.

Was der Skill vermittelt

A Salesforce skill for building Lightning Web Components that use the Lightning Data Service GraphQL API. The agent obtains the org's GraphQL schema through a bundled shell script that uses the sf CLI, identifies the objects and fields involved, and introspects them step by step before writing a read query or a mutation that matches the schema. It then wires the query into the component through lightning/uiGraphQLApi, including the HTML and JavaScript, and tests it against a connected org with a second script. It needs the sf CLI with an authorised org and Python 3.

Funktionen

  • Fetch an org's LDS GraphQL schema
  • Write schema-checked GraphQL read queries and mutations
  • Wire GraphQL queries into an LWC
  • Test a query against a connected org