Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get/set to property attribute to specify custom getter/setter #841

Merged
merged 3 commits into from
Feb 6, 2022

Commits on Feb 4, 2022

  1. feat(property): add get, get_ref and set attributes

    these attributes are used to set custom getter and setter.
    Bogay committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    5dc6382 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de96485 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. Handle all #[property(get, set)] combinations + test

    Changes:
    * Logic that allows/disallows property <-> field type combinations
    * Unit tests
    * Create internal proc_macro2 derive that can be used in tests
    * Add Property to prelude
    * Extensive documentation for Property
    Bromeon committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    768020f View commit details
    Browse the repository at this point in the history