Skip to content
#

actix

Here are 181 public repositories matching this topic...

sea-orm
itsbalamurali
itsbalamurali commented Mar 20, 2022

Description

Insert with Custom column Id doesn't work.

I have an entity with a custom column name Id instead of id.

Steps to Reproduce

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Serialize, Deserialize)]
#[sea_orm(table_name = "Somethings")]
struct SomethingModel {
    #[sea_orm(column_name = "Id", primary_key, auto_increment = false)]
    pub id: Uu
good first issue
agraven
agraven commented Mar 29, 2022

The Basic struct has two getter methods, user_id and password, both of which return a &Cow<'static, str> (one wrapped in an option). This is a big ergonomics papercut. Partly the getters become tied to the underlying implementation of the struct, removing most of the point of having a p

C-improvement good first issue A-httpauth

Improve this page

Add a description, image, and links to the actix topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the actix topic, visit your repo's landing page and select "manage topics."

Learn more