aws-samples / serverless-rust-demo

Sample serverless application written in Rust
MIT No Attribution
267 stars 21 forks source link

[Question] Cleanup of hexagonal structure #39

Open hffmnn opened 2 years ago

hffmnn commented 2 years ago

Hi and thanks a lot for this repository.

I am just getting started with the hexagonal architecture (and Rust in general) and I am wondering about some things in the current setup of the hexagonal architecture in this repo:

Don't get me wrong: I really like the repository, but I wonder if the boundaries could be a little bit more enforced.

When looking at another great example of a hexagonal architecture (in rust) and the source code of it, it looks like it is structured a little bit better, even if there are also issues around some implementation details: https://github.com/alexislozano/pokedex/issues/1

Screenshot 2022-02-03 at 16 35 22

Would it be of interest for you to restructure the existing code? Maybe I can help.