You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running cargo loco generate scaffold answer answer_text:text! question_id:int sequential_priority_answer:decimal, I get:
...
Writing src/models/_entities/prelude.rs
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `comment_width = 80`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
... Done.
2024-03-29T13:15:37.698589Z WARN app: loco_rs::boot: environment=development
Error: type: text! not found. try any of: ["string!", "ts", "string^", "jsonb", "uuid", "int", "int!", "int^", "json!", "string", "bool!", "ts!", "text", "bool", "json", "jsonb!", "uuid!"]
yes scaffold is still a thing
we initially started with a very "wide" model in terms of field types and a more minimalistic scaffold. i've refactored the type mappings so that now scaffold and model use the same variety of types.
for the warnings -- we use some advanced fmt features, that are available on nightly only unfortunately, you can ignore those or use nightly if it is possible.
When running
cargo loco generate scaffold answer answer_text:text! question_id:int sequential_priority_answer:decimal
, I get:Whereas
text!
is included in docs...?! under 'migrations' header.Ah, found this issue. So is 'scaffold' still a thing?
And I don't quite understand why I get these warnings, looks like users are assumed to use nightly?
The text was updated successfully, but these errors were encountered: