effect-schema-viz
    Preparing search index...

    Function addObjectType

    • Compile the given Effect/Schema object type, struct or class, and add it to the given graph.

      Parameters

      Returns <Self extends AnyClass, Fields extends Fields>(
          objectType: ObjectType<Self, Fields>,
      ) => Effect<RootGraphModel, Error>

      the updated graph or else an error message describing what went wrong.

        • <Self extends AnyClass, Fields extends Fields>(
              objectType: ObjectType<Self, Fields>,
          ): Effect<RootGraphModel, Error>
        • Schema Struct or Class to add to the graph.

          Type Parameters

          • Self extends AnyClass
          • Fields extends Fields

          Parameters

          Returns Effect<RootGraphModel, Error>