From f519c2e15462e7268157c80486f47811691a19a3 Mon Sep 17 00:00:00 2001 From: "Joseph T. French" Date: Sun, 19 Jul 2026 01:49:01 -0500 Subject: [PATCH] fix(graphql): select text-block fields on fact and rendering rows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 0.5.2 regen added textValue/factType/contentType to the generated envelope models, but the hand-written GraphQL query documents (GetInformationBlock, ListInformationBlocks, report package) never selected them — so narrative disclosure envelopes came back with the text fields silently absent. Add the fields to all three fact selections and textValue to the rendering-row selections. --- .../graphql/queries/ledger/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/robosystems_client/graphql/queries/ledger/__init__.py b/robosystems_client/graphql/queries/ledger/__init__.py index 0ee94a6..0d422f2 100644 --- a/robosystems_client/graphql/queries/ledger/__init__.py +++ b/robosystems_client/graphql/queries/ledger/__init__.py @@ -612,7 +612,7 @@ def parse_mapping_coverage(data: dict[str, Any]) -> dict[str, Any] | None: arcrole orderValue weight } facts { - id elementId value periodStart periodEnd + id elementId value textValue factType contentType periodStart periodEnd periodType unit factScope factSetId } rules { @@ -637,7 +637,7 @@ def parse_mapping_coverage(data: dict[str, Any]) -> dict[str, Any] | None: rendering { rows { elementId elementQname elementName classification - balanceType values isSubtotal depth + balanceType values textValue isSubtotal depth } periods { start end label } validation { passed checks failures warnings } @@ -680,7 +680,7 @@ def parse_information_block(data: dict[str, Any]) -> dict[str, Any] | None: arcrole orderValue weight } facts { - id elementId value periodStart periodEnd + id elementId value textValue factType contentType periodStart periodEnd periodType unit factScope factSetId } rules { @@ -705,7 +705,7 @@ def parse_information_block(data: dict[str, Any]) -> dict[str, Any] | None: rendering { rows { elementId elementQname elementName classification - balanceType values isSubtotal depth + balanceType values textValue isSubtotal depth } periods { start end label } validation { passed checks failures warnings } @@ -906,7 +906,7 @@ def parse_report_download_url(data: dict[str, Any]) -> dict[str, Any] | None: arcrole orderValue weight } facts { - id elementId value periodStart periodEnd + id elementId value textValue factType contentType periodStart periodEnd periodType unit factScope factSetId } rules { @@ -931,7 +931,7 @@ def parse_report_download_url(data: dict[str, Any]) -> dict[str, Any] | None: rendering { rows { elementId elementQname elementName classification - balanceType values isSubtotal depth + balanceType values textValue isSubtotal depth } periods { start end label } validation { passed checks failures warnings }