Skip to content

Error: this collection cannot be loaded lazily #926

Description

@tomkennedy22

Hey all, running in to a problem, would love some guidance.

I'm using the incremental indexeddb adapter created by @radex . I've had success with Vanilla Loki - as well as with the normal IndexedDB adapter, but really like the look of the Incremental Adapter.

I have about 20 collections, of varying sizes. All of them have the following settings:

  1. a proto define to inflate on load
  2. lazyLoad: true
  3. clone: true
  4. clone_method: shallow-assign
  5. The collection name is in the adapter options list for "lazyCollections".

I've tried this setup with all of the lazy settings turned off - both in individual collections and the adapter definition.

I'm at a bit of a loss on how to proceed. I've combed through all of the code that leads to that line, but can't figure out how to get my data loaded from idb for some of my collections. Notably, not all collections have this issue.

Thanks!

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions