Skip to content

Type validation #9

@ZeroIntensity

Description

@ZeroIntensity

Incoming types need to validated upon being sent to the server, hopefully producing an API like this:

@post("/something")
@query("idk", str)
async def something(idk: str):
    # idk should always be a str, should be handled by view if something else is sent
    return "OK"

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 doingfeatureNew featurehotThis is high priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions