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

fix: use query string for entitlements method input #13

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/v2.0.1/bug-fixes/12-entitlements-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Switch entitlements method input to a query string. ([#12](https://github.com/noble-assets/halo/pull/12))
3 changes: 3 additions & 0 deletions .changelog/v2.0.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*Nov 13, 2024*

This is a non-consensus breaking patch to the `v2` release line.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## v2.0.1

*Nov 13, 2024*

This is a non-consensus breaking patch to the `v2` release line.

### BUG FIXES

- Switch entitlements method input to a query string. ([#12](https://github.com/noble-assets/halo/pull/12))
johnletey marked this conversation as resolved.
Show resolved Hide resolved

## v2.0.0

*Nov 10, 2024*
Expand Down
83 changes: 41 additions & 42 deletions api/entitlements/v1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/halo/entitlements/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ service Query {

rpc PublicCapability(QueryPublicCapability) returns (QueryPublicCapabilityResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/halo/entitlements/v1/public_capability/{method}";
option (google.api.http).get = "/halo/entitlements/v1/public_capability";
}

rpc RoleCapability(QueryRoleCapability) returns (QueryRoleCapabilityResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/halo/entitlements/v1/role_capability/{method}";
option (google.api.http).get = "/halo/entitlements/v1/role_capability";
}

rpc UserCapability(QueryUserCapability) returns (QueryUserCapabilityResponse) {
Expand Down
71 changes: 35 additions & 36 deletions types/entitlements/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading