Skip to content

Add option to map field names #49

Open
@guenth39

Description

@guenth39

Description

I would like to have the option to map the field names from firestore to other field names in the typsense collection. As an example, the field id is called id in firestore and typsense, but the firestore field ownerId should be called userId in typsense. To achieve this, you could modify the field Firestore Collection Fields in the typsense extension configuration to accept the following syntax and of course update the sync cloud functions to handle it.

# Previously 
id, ownerId, date

# Future 
id, ownerId=userId, date 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions