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

SeaORM doesn't compile when "macros" flag is not set #249

Closed
tqwewe opened this issue Oct 15, 2021 · 2 comments
Closed

SeaORM doesn't compile when "macros" flag is not set #249

tqwewe opened this issue Oct 15, 2021 · 2 comments

Comments

@tqwewe
Copy link
Contributor

tqwewe commented Oct 15, 2021

SeaORM fails to compile when the "macros" flag is not set due to it being used in places such as tests_cfg and possibly other modules.

tyt2y3 added a commit that referenced this issue Oct 15, 2021
tyt2y3 added a commit that referenced this issue Oct 15, 2021
@tyt2y3
Copy link
Member

tyt2y3 commented Oct 15, 2021

Thank you for the report. It seems that it's hard enough to make the crate build without mock.
Since mock does not have any extra dependency, hopefully we can live with that for now.

@tyt2y3
Copy link
Member

tyt2y3 commented Oct 20, 2021

So the trick is to add mock as dev-dependencies, which is necessary for unit testing

arpancodes pushed a commit to arpancodes/sea-orm that referenced this issue Apr 8, 2022
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

No branches or pull requests

2 participants