feat: Support incremental mode:
- Support incremental mode in heromodels - Updated the example to refelct the changes - Updated the tests to reflect the changes
This commit is contained in:
		@@ -130,7 +130,7 @@ pub fn model(_attr: TokenStream, item: TokenStream) -> TokenStream {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            fn get_id(&self) -> u32 {
 | 
			
		||||
                self.base_data.id
 | 
			
		||||
                self.base_data.id.unwrap_or(0)
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            fn base_data_mut(&mut self) -> &mut heromodels_core::BaseModelData {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user