You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
crossplane composition render will generate all schemas not honor project specific schemas.languages #242
The cause looks like a missing filter at two call sites. crossplane composition render runs xr.Cmd, and its loadFunctions builds the schema generators with a bare generator.AllLanguages(...) — unlike project build, project run, dependency add, dependency update-cache, composition generate and function generate, which all wrap it in generator.Filter(..., proj.Spec.Schemas.GetLanguages()). That same value feeds both the dependency manager and the schema manager, so every language is generated regardless of spec.schemas.languages. crossplane operation render has the identical omission — happy to fix both in one PR.
@haarchri — before I start, does this overlap with the schema-generator port you mentioned on #131?
Activity
Bham06 commentedon Aug 10, 2026
I'd like to take this one.
The cause looks like a missing filter at two call sites.
crossplane composition renderrunsxr.Cmd, and itsloadFunctionsbuilds the schema generators with a baregenerator.AllLanguages(...)— unlikeproject build,project run,dependency add,dependency update-cache,composition generateandfunction generate, which all wrap it ingenerator.Filter(..., proj.Spec.Schemas.GetLanguages()). That same value feeds both the dependency manager and the schema manager, so every language is generated regardless ofspec.schemas.languages.crossplane operation renderhas the identical omission — happy to fix both in one PR.@haarchri — before I start, does this overlap with the schema-generator port you mentioned on #131?
haarchri commentedon Aug 10, 2026
the fix in #131 is only for generating Go Schemas