Problem
A deep service tree shouldn't instantiate everything eagerly or duplicate raw/cooked impls.
Proposed change
Generate by lazy sub-service accessors; the root reuses the nested raw-response impl to halve the generated type count. Note by lazy vs a memoized supplier for any future Java target.
Prior art: openai-java's client impl (OpenAIClientImpl.kt).
Acceptance
Dependencies
Priority: medium · Effort: small
Problem
A deep service tree shouldn't instantiate everything eagerly or duplicate raw/cooked impls.
Proposed change
Generate
by lazysub-service accessors; the root reuses the nested raw-response impl to halve the generated type count. Noteby lazyvs a memoized supplier for any future Java target.Prior art: openai-java's client impl (
OpenAIClientImpl.kt).Acceptance
Dependencies
Priority: medium · Effort: small