Skip to content

No documentation for registerComponent #40

@pierre-H

Description

@pierre-H

There is no documentation of how to use components (aggregate, etc.) with convex-test.
Only an error message saying that we should call t.registerComponent().

The example in https://github.com/get-convex/convex-test/blob/main/convex/components.test.ts uses a custom component that is directly inside the project.
But, if I want to use the Aggregate component, I cannot import the schema (schema.ts) as it was not exported in the package.json.
At least, the example should include a component like Aggregate ... or aggregate should export the schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions