-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
In case this bundle is used by mutliple projects and the same Typesense instance, it would be nice to have a prefix variable that would allow to have distinct collection names.
I had a issue once with two projects (staging and prod) on the same server. I'm thinking of somthing like this:
# config/packages/acseo_typesense.yml
acseo_typesense:
# Typesense host settings
typesense:
host: '%env(resolve:TYPESENSE_URL)%'
key: '%env(resolve:TYPESENSE_KEY)%'
collection_prefix: 'my-project-%env(resolve:APP_ENV)%-' #new optional value as a result, for example, the collection my-project-dev-books would be created
pierre-H, remysa and alexsegura
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request