Skip to content

Error on recursive types #489

@DirectXMan12

Description

@DirectXMan12

Right now, we can't support recursive types, because those require references, and SIG API Machinery has thus far been reluctant to add reference support to CRDs (intra-object references would do the trick, and they seem slightly more amenable to those, so someone might be able to champion that in the long term).

We should warn/error on recursive types, to avoid the confusing behavior today where we just don't generate type info for them.

Spawned from #477.

/kind bug
/help
/priority important-longterm

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions