Collection type doesn't support circular references

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: TypeScript
    • None
    • None
    • None
    • None
    • None
    • None

      What problem are you facing?

      I have an interface with a property that circularly references itself, which is correct and cannot be changed due to how my system works. When I use this interface or another one that depends on it to assign it to a collection I get 3 errors that look like the following:

      What driver and relevant dependency versions are you using?

      Driver version 4.8.1 on Node.js 18.7.0 and TypeScript 4.7.4

      Steps to reproduce?

      1. Create an interface with a property that references itself
      2. Assign that interface to a collection through `db.collection<YourInterface>`()

              Assignee:
              Bailey Pearson
              Reporter:
              Rodrigo Leitão
              Bailey Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: