embedded_struct_fields_codegen

Function embedded_struct_fields_codegen 

Source
pub async fn embedded_struct_fields_codegen(test: &mut Test)
Expand description

Tests code generation for embedded struct field accessors:

  • User::fields().address() returns AddressFields
  • Chaining works: User::fields().address().city()
  • Both model and embedded struct have fields() methods This is purely a compile-time test validating the generated API.