Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Make attribute to use Display or Serialize as value for foreign types #7

@FlixCoder

Description

@FlixCoder

For foreign types that do not implement SampleConfig, but implement Display or Serialize, it could be helpful to have an attribute that one could put onto fields, which tells SampleConfig to use the Display/Serialize implementation to produce a value
Note that this only works for values, not for structs, so error handling and a warning needs to be put up.

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