Pular para o conteúdo
Kitbay
SkillOficial

experience-lds-graphql-generate

Apache-2.0Atualizado em 6 de nov. de 20261.156Estrelas no GitHubInclui scripts

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

O que a skill ensina

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.

O que faz

  • 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