ytitov / grpc-rust-dart-demo

routeguide tutorial base to start a rust and dart server/client project
0 stars 0 forks source link

up.sql Messages and Tasks #28

Closed Relentlesslba closed 4 years ago

Relentlesslba commented 4 years ago

Beta schema for messages and tasks

Relentlesslba commented 4 years ago

Please review the changes. I've created a new Messages service, which made me realize that we will have a non-auth service and probably several auth services (tasks, messages, etc user activities). I've also created an interceptor using GRPC - its limitation is that it can only work on metadata (headers), but that should be enough - we don't need the body of the message, do we?

Messages service traffic intercepted: MetadataMap { headers: {"grpc-timeout": "30000m", "content-type": "application/grpc", "te": "trailers", "grpc-accept-encoding": "identity", "user-agent": "dart-grpc/2.0.0"} }