Skip to content

handle storing local data in the in-memory state #151

Description

@shazron
          keeping `local=false` in this PR works as it aligns with the current behavior. see [here](https://github.com/adobe/aio-lib-ims/blob/master/src/ctx/Context.js#L87-L89) and [here](https://github.com/adobe/aio-lib-ims/blob/master/README.md?plain=1#L114)

note
In the future or as an extra effort, we may store the local information when setting the token in-memory to return it here. e.g. by storing it in smthg like this.isLocal[this.keyNames.CONTEXTS][key]. This will provide an option to just cache in-memory (not using State lib), in the context of I/O Runtime actions.

Originally posted by @moritzraho in #150 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions