-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
focus: backendFocus on Back End DevelopmentFocus on Back End Developmenttodotype: enhancementnew feature or requestnew feature or request
Description
- Potentially refactor to individual enums for better case exhaustiveness, covering the cases below...
- success, error
- request, response
- server, client
- Maybe make a macro that casts a
Body::Messagebased onBody::Type - Add a macro for simply defining messages
core/src/placeos-edge/protocol.cr
Lines 93 to 99 in b938d43
| # TODO: Refactor Message for better type safety | |
| # - Potentially refactor to indivual enums for better case exhaustiveness | |
| # - success, error | |
| # - request, response | |
| # - server, client | |
| # - Maybe make a macro that casts a Body based on `Body::Type` | |
| # - Add a macro for simply defining messages |
Metadata
Metadata
Assignees
Labels
focus: backendFocus on Back End DevelopmentFocus on Back End Developmenttodotype: enhancementnew feature or requestnew feature or request