Skip to content

Allow function to programmatically return default values #6

@rugk

Description

@rugk

Possibly required for rugk/offline-qr-code#201...

TODO:

  • allow dev to specify a function instead of the actual default value…
  • automatically execute that function, if the value is accessed
  • Edit: AFAIK, you also need to exclude the function from being tried to get frozen, because this cannot be done for a function? 🤔 (in the end, this then also requires the unit tests to be adjusted, though I can do that, they are not well-documented yet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershacktoberfestHacktoberfest 2020, https://hacktoberfest.digitalocean.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions