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

**BREAKING**: Update name lookup API #2113

Merged
merged 33 commits into from
Jan 25, 2024
Merged

**BREAKING**: Update name lookup API #2113

merged 33 commits into from
Jan 25, 2024

Conversation

hmalik88
Copy link
Contributor

The existing API was not in accordance with SIP-12 and with further updates to the spec, an update was needed to bring things into parity.

@hmalik88 hmalik88 marked this pull request as ready for review January 19, 2024 20:32
@hmalik88 hmalik88 requested a review from a team as a code owner January 19, 2024 20:32
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ab0e77) 96.78% compared to head (39f5d0d) 96.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2113   +/-   ##
=======================================
  Coverage   96.78%   96.79%           
=======================================
  Files         324      325    +1     
  Lines        7270     7292   +22     
  Branches     1126     1126           
=======================================
+ Hits         7036     7058   +22     
  Misses        234      234           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hmalik88 hmalik88 changed the title Update name lookup API **BREAKING**: Update name lookup API Jan 22, 2024
FrederikBolding added a commit that referenced this pull request Jan 22, 2024
Add a utility function for validating caveat types for a permission.
This lets us generically validate permissions with multiple caveat types
without duplicating validation code across the permission
specifications. This is useful long-term as we add more permissions that
have more than 1 caveat type.

This is a prerequisite for #2113
and #2098
@hmalik88 hmalik88 merged commit 12b4b2e into main Jan 25, 2024
144 checks passed
@hmalik88 hmalik88 deleted the hm/update-name-lookup branch January 25, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants