Skip to content

Default sort #398

Open
Open
@andrewvasilchuk

Description

@andrewvasilchuk

It would be great if SQLAlchemyObjectType allowed to configure a default_value of a #sort_argument method result.

def sort_argument_for_object_type(
  # ...
  return Argument(List(enum), default_value=enum.default)

Right now there is no way to configure the default_value of the Argument.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions