-
Notifications
You must be signed in to change notification settings - Fork 137
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 an exists function, allows checking if capability exists/is published #2778
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit 9a146ab Collapsed results for better readability
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #2778 +/- ##
=======================================================
Coverage 79.72% 79.73%
=======================================================
Files 341 341
Lines 80864 80898 +34
=======================================================
+ Hits 64471 64503 +32
- Misses 14090 14091 +1
- Partials 2303 2304 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Description
While updating the design patterns in the documentation, I realized that there is currently no means to check if a capability has already been published under a public path.
Add a new
exists
function toAccount.Capabilities
.master
branchFiles changed
in the Github PR explorer