Skip to content

List params default broken #170

Closed
Closed
@dbanty

Description

@dbanty

I don't think it ever worked, but the default value for list parameters (query params) is set to a field with a default factory.

Instead, we probably need to have some sort of a sentinel value and, if set to that, assign the default. Or, ignore defaults for lists altogether for now, removing a feature that doesn't work is better than generating broken code I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions