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
It would be nice to have a way to tell the codegen to use an existing go type (such as a kubernetes type) for a field in the spec or status when generating code. The CUE source would still need to define the type properly for OpenAPI generation, but could reference an existing type to use for the generated go or TypeScript, perhaps with something like @app-sdk(gotype="repo/pkg.Type").
The text was updated successfully, but these errors were encountered:
Related to this, it would be good to have codegen generate a set of common types, perhaps from a common.cue that could be referenced from all other Kinds, but would be generated into it's own separate package.
It would be nice to have a way to tell the codegen to use an existing go type (such as a kubernetes type) for a field in the spec or status when generating code. The CUE source would still need to define the type properly for OpenAPI generation, but could reference an existing type to use for the generated go or TypeScript, perhaps with something like
@app-sdk(gotype="repo/pkg.Type")
.The text was updated successfully, but these errors were encountered: