Install
Works with Drupal: ^10.6 || ^11.3Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
39.59 KB
MD5: 08925835568d87274379f3a2481525cd
SHA-1: 116594230671009e671913f91f6cc96d1b93b295
SHA-256: 9df97fabb5698550c81ce7847cf4294469ae80d706207a42809c97d7c0952fde
Download zip
58.4 KB
MD5: ed6fdafed0d3b31a364b6bca2dc4c089
SHA-1: b3fc6d24f2209da2f53d527706b08572d9420d1a
SHA-256: df95b8b303f86d83de0b233638d66836966a7a7fbaf13d1943d6c28181806922
Release notes
Paragraph bundles are now first-class scaffold targets: gqcc:inspect and gqcc:generate previously covered node bundles only.
Added
gqcc:inspectlists paragraph bundles enabled in graphql_compose (entity_configenabled + query_load_enabled and per-fieldfield_configenablement; both the 2.x config name and the 3.x per-server names are read), with a nested-only marker for bundles that render inside their parents (#3613218).- Four paragraph scaffold artefacts mirroring the node set: TypeScript types joining the
DrupalParagraphunion, thePARAGRAPH_FRAGMENTSblock, ParagraphRenderer switch-case stubs, and one component stub per bundle. - Response-key collision handling: when two paragraph bundles select the same field name with incompatible shapes (required vs optional sub-fields), the later bundle's field is aliased (
tabItems: items) and the TypeScript property follows the alias; aliases stay stable across--bundlessubset runs. - Nested paragraph references emit nested inline fragments for the allowed target bundles, one level deep, with bundle-specific TypeScript types.
- Webform mapper:
webform</codrupalWebformtypecommit hooks are already ahe issues. The 1.x-devrebuild happens within ~30- GitHub release:https://github.com/Wilkes-Liberty/graphql_compose_codegen/releases/tag/1... (release-notify workflow fires from it).
- Issues set to Fixed with "Shipped in 1.1.0" comments: #3613218, #3613232,#3613237 (d.o auto-closesYour one remaining step: create the release node at /project/graphql_compose_crelease → tag 1.1.0. Pastethis as the notes — single block, no whitespace:
Paragraph bundles are now first-class scaffold targets:
gqcc:inspectandgqcc:generatepreviously covered node bundles only.Added
gqcc:inspectlists paragraph bundles enabled in graphql_compose (entity_configenabled + query_load_enablld_configenablement; both the 2.x config name and the 3.x per-server names are read), with a nested-only marker for bundles that render inside their parents ().- Four ts mirroring the node set:TypeScript types joining the
DrupalParagraphunion, thePARAGRAPH_FRAGMENTSblock, ParagraphRenderer switch-case stubs, and one component stub per bundle. - Response-key collision handling:when two paragraph bundlese with incompatible shapes(required vs optional sub-fields), the later bundle's field is aliased (
tabItems: items) and the TypeScript property follows the alias; aliases stay stable across--bundlessubset runs. - Nestparagraph references emit r the allowed targetbundles, one level deep, with bundle-specific TypeScript types.
- Webform mapper:
webformfields map to aDrupalWebformtypwith the full graphql_compead ofunknown(#3613232).
Changed
--bundlesnfilters paragraph bundles te, and inspect; aparagraph-only run no longer aborts or overwrites node artefacts.- Paragraph component stubs use the
dataprop{Name}Paragraph</coded fields are emitted inmachine-name order so output is deterministic.</li><li>The schema-change log notices emit a working command for paragraph bundles and name the matching renderer on bundle deletio<ul><li>PathGuard rejectsthe macOS <code>/privatevariants of dangerous filesystem roots (#3613237).
The test suite grows from 20 to 45 tests, exercised in CI on Drupal 10.6, 11.3, a