Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Add support for auto-expansion of application custom data #564

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

the-overengineer
Copy link

Adds a configuration option to config.web to expand the stormpathApplication customData field as:

web:
  application:
    expand:
      customData: true # defaults to false to keep backwards compat

If specified, the expansion will automatically happen when attaching the stormpathApplication property to req.app. Do note, however, that the setting of stormpathApplication happens only once, on application load, so any updates will still need to be saved manually.

Fixes #440

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant