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

MODEL_FOLDERS is not set: NotPresent #21

Closed
eruca opened this issue Mar 5, 2023 · 2 comments
Closed

MODEL_FOLDERS is not set: NotPresent #21

eruca opened this issue Mar 5, 2023 · 2 comments

Comments

@eruca
Copy link

eruca commented Mar 5, 2023

when I use macro in a struct User:

use ormlite::model::Model;

#[derive(Debug,serde::Serialize, Model)]
pub struct User {
    pub id i32,
    pub name String
}

the error show:

proc-macro derive panicked
message: MODEL_FOLDERS is not set: NotPresent

how to fix

@kurtbuilds
Copy link
Owner

kurtbuilds commented Mar 5, 2023 via email

@eruca
Copy link
Author

eruca commented Mar 11, 2023

thanks!

@eruca eruca closed this as completed Mar 11, 2023
franklx pushed a commit to franklx/ormlite that referenced this issue Aug 18, 2023
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