Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow us customized to write value as customFields to session #2069

Closed
tianyingchun opened this issue Mar 7, 2023 · 1 comment
Closed

Allow us customized to write value as customFields to session #2069

tianyingchun opened this issue Mar 7, 2023 · 1 comment
Labels
P3: minor Non-critical, no workarounds exist type: feature ✨ @vendure/core

Comments

@tianyingchun
Copy link
Contributor

tianyingchun commented Mar 7, 2023

Is your feature request related to a problem? Please describe.

Is there a way to add an customField like locale to the table session

Describe the solution you'd like
allow us customized to write value as customFields to session
e.g. i want to get languageCode from ctx and store on the session to statistic How many sessions come from where?

Describe alternatives you've considered

  1. add hook allow us get ctx to merge an value to customFields(locale) to Session.
  2. Allow us defined custom Fields locale

Additional context

@tianyingchun tianyingchun changed the title Allow customzied fields value attached on the table session Allow us customized to write value as customFields to session Mar 7, 2023
@michaelbromley michaelbromley added @vendure/core type: feature ✨ P3: minor Non-critical, no workarounds exist labels Jun 20, 2024
@dlhck dlhck moved this to 👀 Under consideration in Vendure OS Roadmap Sep 24, 2024
@michaelbromley
Copy link
Member

Custom field support will be added to Session as part of #3044

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3: minor Non-critical, no workarounds exist type: feature ✨ @vendure/core
Projects
Status: 👀 Under consideration
Development

No branches or pull requests

2 participants