Skip to content

Should "type" be picked up from the "using" option? #195

Closed
@jhollinger

Description

@jhollinger

Currently you have to specify both using and type, e.g. expose :widget, using: Entities::Widget, documentation: {type: 'Widget'}. Seems redundant. Is there any reason why type shouldn't be inferred from using when it's missing? I can't think of a reason but thought I'd ask first. If there are no objections I'll submit a PR.

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