Skip to content

Request macros can not accept mixed field definitions (with and without aliases) #41

@kstep

Description

@kstep

It would be nice, if we could mix fields with aliases (field_name as (field_alias): ...) and without aliases (field_name: ...) in the same request! or request_ref! macro invocation.

The problem is fields definition block in the macros is not homogeneous, because I can't use incremental TT muncher pattern, as macro calls doesn't work inside struct definitions, and I have to put macro call inside struct to unroll heterogeneous fields pattern.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions