FgForrest / evitaDB

evitaDB is a specialized database with an easy-to-use API for e-commerce systems. It is a low-latency NoSQL in-memory engine that handles all the complex tasks that e-commerce systems have to deal with on a daily basis. evitaDB is expected to act as a fast secondary lookup/search index used by front stores.
https://evitadb.io
Other
62 stars 7 forks source link

Support custom sessions in GQL and REST APIs #630

Open lukashornych opened 4 months ago

lukashornych commented 4 months ago

Currently, GQL and REST APIs create new sessions for each request. This is usually fine but e.g. in evitaLab (https://github.com/lukashornych/evitalab/issues/160), we will need to manage single session for WARMING_UP catalogs.

Therefore it would be helpful if GQL and REST APIs could support session ID on the input to override the default logic of creating adhoc sessions.