Skip to content

Forms #22

Open
Open
@ZeroIntensity

Description

@ZeroIntensity

Would be nice to support the default HTML form system for a nicer developer experience. #9 Should probably get finished before this, though.

Hypothetical syntax:

@get("/")
async def my_page():
    return "..."

@dataclass()
class Something:
    a: str
    b: str

@my_page.form(Something)
async def my_page(my_form_data: Something):
    return "..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    c apiThis has to do with the C API (_view)complexThis should only be looked at by someone who knows what they're doingdelayedDelayed due to another issuefeatureNew feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions