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

Parse automatically on first access #11

Closed
AndreasVolkmann opened this issue Sep 21, 2019 · 2 comments
Closed

Parse automatically on first access #11

AndreasVolkmann opened this issue Sep 21, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@AndreasVolkmann
Copy link
Collaborator

Instead of calling .parse() it could happen automatically on the first call to access any prop or get call.

  • isParsed Bool to indicate if it has been parsed. Can also be useful output for exceptions
  • provide lazy parsing on accessing first prop or ::get
@AndreasVolkmann AndreasVolkmann added the enhancement New feature or request label Sep 21, 2019
@AndreasVolkmann AndreasVolkmann added this to the v3.0.0 milestone Sep 21, 2019
@AndreasVolkmann AndreasVolkmann removed this from the v3.0.0 milestone Oct 3, 2019
@AndreasVolkmann
Copy link
Collaborator Author

Sounds fun, but maybe not relevant for every use-case.

@AndreasVolkmann
Copy link
Collaborator Author

This may be relevant for #30

If any access checked if parsed, then we could also put init logic here, like passing arkenv to features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant