Skip to content

Add support for setting utility functions on collections #159

Closed

Description

@KyleAMathews

I took a stab at it while working on #156 but didn't get it working yet.

The problem is that right now, different collection types might want to add utilities for devs to call e.g. with QueryCollection, you'd want to be able to call collection.refetch().

The trick though is how to pass utility functions into createCollection as options and then get them correctly assigned and typed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions