explain and export tool should only use z.discriminatedUnion

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • None
    • Developer Tools

      Currently both the tools are using z.array(z.discriminatedUnion) to specify the possible combination of the schemas for some of the properties. Ideally z.discriminatedUnion should be enough but it requires some deeper changes in getParameters function to retrieve the discriminatedParameters correctly for metadataValidation.

            Assignee:
            Unassigned
            Reporter:
            Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: