Skip to content

Bypass macro attributes #229

@greyblake

Description

@greyblake

Context

Some derive traits can be customized with attributes (e.g. serde, garde, etc).

While at the moment it is possible to derive an arbitrary trait at own risk with derive_unsafe, the custom attributes are still ignored.

Specification

Bypass all the macro attribute associated with the type (see the examples in the associated issues below).

No extra validation needed for this, cause the attributes will be rejected by the rust compiler (if are not used by non of the traits).

This should address the following issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions