Skip to content

Provide access to RequestContext  #669

Closed

Description

@Archmonger

Current Situation

Currently, only Django-IDOM has access to the current websocket's scope. However, this is very commonly needed within all web frameworks to provide access to things such as user attributes, login, and logout functionality.

See #594

Proposed Actions

Create a RequestContext to be used with the upcoming use_context hook.

Work Items

  • Create RequestContext on a per web-framework basis
  • Document this feature (Probably also want an example on user login/logout)

Activity

  1. Archmonger commented on Feb 22, 2022

    @Archmonger
    ContributorAuthor

    I'm going to toss this into V1 since this is a fairly crucial feature for anyone embedding IDOM within a web framework.

  2. added this to the 1.0 milestone on Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-2-moderateShould be resolved on a reasonable timeline.type-docsAbout changes and updates to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions