Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow plugins to extend @App.view decorator parameters #530

Copy link
Copy link

Description

@kagesenshi
Issue body actions

Currently I did not see an obvious way to extend @App.view

This would be useful for developing plugins that deal with querying available views such as:

  • CORS configuration per view
  • Swagger / OpenAPI JSON generator

overriding App.view with a classmethod might be one route a person can take to preprocess kwargs before view registration, but i think it wont work in the case of multiple plugins want to use @App.view kwargs ..

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.