Adds new SubscribeWithMetadata API method that allows for including an is_silent flag for each topic, as well as a set of HmacKeys attached to the subscription
Adds interfaces for that method
Adds tests for the new service
Next up
Actually check the HmacKeys against message Hmacs to determine isSender
Make use of the is_silent flag
Generated summary (powered by Graphite)
> ## TL;DR
> This pull request includes updates to the settings.json file, additions to the fixtures directory, modifications to the mocks/Installations.go file, changes to the api.go file, adjustments to SQL migration files, and updates to various structs and interfaces related to managing subscriptions, notifications, and installations.
>
> ## What changed
> - Updated settings.json file in the .vscode directory
> - Added envelopes.json file to the fixtures directory
> - Updated mocks/Installations.go file
> - Modified api.go file
> - Adjusted SQL migration files
> - Updated structs and interfaces for managing subscriptions, notifications, and installations
>
> ## How to test
> - Verify changes in the settings.json file
> - Check the contents of the new envelopes.json file
> - Test the functions in the mocks/Installations.go file
> - Validate the modifications in the api.go file
> - Review the changes in the SQL migration files
> - Test the functionality related to managing subscriptions, notifications, and installations
>
> ## Why make this change
> - Enhance the functionality related to managing subscriptions, notifications, and installations
> - Improve the efficiency and accuracy of handling subscription requests
> - Update settings and configurations to align with new requirements
> - Ensure compatibility with the latest version of mockery
> - Enhance error handling and return values in various functions
Summary
SubscribeWithMetadata
API method that allows for including anis_silent
flag for each topic, as well as a set ofHmacKey
s attached to the subscriptionNext up
HmacKey
s against message Hmacs to determine isSenderis_silent
flagGenerated summary (powered by Graphite)
> ## TL;DR > This pull request includes updates to the settings.json file, additions to the fixtures directory, modifications to the mocks/Installations.go file, changes to the api.go file, adjustments to SQL migration files, and updates to various structs and interfaces related to managing subscriptions, notifications, and installations. > > ## What changed > - Updated settings.json file in the .vscode directory > - Added envelopes.json file to the fixtures directory > - Updated mocks/Installations.go file > - Modified api.go file > - Adjusted SQL migration files > - Updated structs and interfaces for managing subscriptions, notifications, and installations > > ## How to test > - Verify changes in the settings.json file > - Check the contents of the new envelopes.json file > - Test the functions in the mocks/Installations.go file > - Validate the modifications in the api.go file > - Review the changes in the SQL migration files > - Test the functionality related to managing subscriptions, notifications, and installations > > ## Why make this change > - Enhance the functionality related to managing subscriptions, notifications, and installations > - Improve the efficiency and accuracy of handling subscription requests > - Update settings and configurations to align with new requirements > - Ensure compatibility with the latest version of mockery > - Enhance error handling and return values in various functions