-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Demonstrate how to mock test SeaORM by separating core implementation from the web API #890
Conversation
Hey @billy1624, I thought it'd be easier to just take out the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @shpun817, the new workspace structure looks exactly like what I'd expect :)
I think we should make it explicit by moving codes that are currently in project root inside the new api
crate.
@billy1624 Finished transforming the Rocket example! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @shpun817, LGTM!!
Could you please update all other examples as well?
- https://github.com/SeaQL/sea-orm/tree/master/examples/actix3_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/actix_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/axum_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/graphql_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/jsonrpsee_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/poem_example
- https://github.com/SeaQL/sea-orm/tree/master/examples/tonic_example
It's going to be tedious zzz
Hey @shpun817, @fergus-hou just added an SeaORM example for Salvo. Could we add mock testing to it as well? |
* Add MyDataMyConsent in COMMUNITY.md * Update MyDataMyConsent description in COMMUNITY.md
Chronological order
* Auto discover and run all [issues] CI * Auto discover and run all examples CI * Fixup * Testing * Test [issues]
8eee82d
to
ef1132c
Compare
0073a26
to
df4dee3
Compare
Ohoh, @shpun817 welcome back! |
…re` folder is a crate
e235bea
to
3a58670
Compare
@billy1624 Ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @shpun817, thanks for the hard work!!
I have a small refactoring shpun817#3 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks!! @shpun817
PR Info
Adds
core
cratecore
crate of all examples