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

Support findProperty everywhere hasProperty is supported #4524

Open
Vampire opened this issue Feb 26, 2018 · 1 comment
Open

Support findProperty everywhere hasProperty is supported #4524

Vampire opened this issue Feb 26, 2018 · 1 comment
Labels
a:feature A new functionality in:configuration-model lazy api, domain object container

Comments

@Vampire
Copy link
Contributor

Vampire commented Feb 26, 2018

Currently only Project has a findProperty method with which you can use elvis-operator syntax like
project.findPropery('foo') ?: 'default'
instead of the cumbersome
project.hasPropery('foo') && foo ? foo : 'default'

It would be nice if all places that have hasProperty would also support findProperty.

@big-guy big-guy added the in:core DO NOT USE label Feb 12, 2019
@stale
Copy link

stale bot commented Aug 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

@stale stale bot added stale and removed stale labels Aug 5, 2020
@donat donat added in:configuration-model lazy api, domain object container and removed in:core DO NOT USE labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature A new functionality in:configuration-model lazy api, domain object container
Projects
None yet
Development

No branches or pull requests

5 participants