Improve support for TS recursive collection schema types

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.11.0
    • Affects Version/s: None
    • Component/s: TypeScript
    • 3
    • Not Needed
    • None
    • Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, with the introduction of support for dot-notation type hinting in 4.3.0, we also introduced a limitation to any recursive collection schemas. This limitation was partially addressed in 4.3.1, which allows self-referential types to compile, but does not fix the issue of indirectly self-referential types (e.g. where A references B and B references A).

      There are other approaches we can take (see example here and here) to address the issue by limiting the depth of the recursion, and we may have to do this if it ends up affecting a significant number of users.

            Assignee:
            Neal Beeken
            Reporter:
            Daria Pardue
            Bailey Pearson
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: