Skip to content

Conversation

@hashemix
Copy link
Member

📌 Summary

Enhanced the schema by incorporating associated methods into the structs for static values.

For instance, we can now retrieve the method name of messages using an associated method, such as:

let method_name = CancelledNotification::method_name(); // Returns "notifications/cancelled"

Previously, this information was only accessible through instance methods.
This improvement should greatly simplify development across various use cases.

@hashemix hashemix self-assigned this Mar 22, 2025
@hashemix hashemix merged commit f5a97a3 into main Mar 22, 2025
2 checks passed
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