effect-schema-viz
    Preparing search index...

    Function addSchemasAndErrors

    • Just like addSchemas, except all errors will be added as error nodes to the graph so that it will always be modified: either because nodes were successfully added or because error nodes were added.

      Parameters

      Returns (schemas: readonly [All, All]) => Effect<RootGraphModel>

      The given graph but with all object types found among the given schemas added as nodes if they compiled, or as errors describing why they were not added as nodes.

        • (schemas: readonly [All, All]): Effect<RootGraphModel>
        • Array of Effect/Schema. Only the object types, structs or classes, will be added to the graph. Non-object types will be returned as errors.

          Parameters

          • schemas: readonly [All, All]

          Returns Effect<RootGraphModel>