Skip to main content

Module relation_belongs_to_embed_key

Module relation_belongs_to_embed_key 

Source

Functionsยง

belongs_to_with_embed_pk
Regression test for tokio-rs/toasty#897: a BelongsTo whose foreign key references a primary key that is an Embed newtype caused the derive macro to emit code that called Field::key_constraint with a {Embed}Fields wrapper instead of the underlying Path, leading to a compile error.