Fix defer_build
behavior with TypeAdapter
#7736
Merged
defer_build
behavior with TypeAdapter
#7736