Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend example and add some comments #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbjorklin
Copy link

First of all thanks a ton for creating archi @anmonteiro!

I've extended the example and added some comments. I didn't find it entirely straight forward to use so hopefully this can save someone else a few minutes!

I hope it is acceptable that I pulled in a few more modules into the example to make it more "complete".

I removed the Database type as I was struggling to appease the compiler. In my use outside of this example where I pass the pool on to functions outside of the start function the compiler wouldn't accept it. I'm sure this is doable and I'm lacking knowledge and experience with OCaml so would appreciate some feedback on the PR!

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.

1 participant