Skip to content

Indexed fields are automatically marked as required #620

Closed
@gvuyk

Description

Fields marked with index: true are automatically added to the the list of "required" fields, preventing the insertion of new documents that don't provide that field. AFAIK nor CouchDb or PouchDb have such limitation and I didn't find a feature here that requires it

Removed the code causing it so I can create better indexes, my app is way faster now 😃
Going to create a PR with a test case and a possible fix (a few deletions)

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