File tree Expand file tree Collapse file tree
postgres-subsystem/postgres-core-builder/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,11 +179,17 @@ pub fn load_subsystem_builders(
179179
180180 if builder. is_none ( ) {
181181 // Then try to load a dynamic builder
182- subsystem_builders. push (
183- core_plugin_interface:: interface:: load_subsystem_builder (
184- & entry. path ( ) ,
185- ) ?,
186- ) ;
182+ match core_plugin_interface:: interface:: load_subsystem_builder (
183+ & entry. path ( ) ,
184+ ) {
185+ Ok ( builder) => subsystem_builders. push ( builder) ,
186+ Err ( err) => {
187+ eprintln ! (
188+ "Skipping dynamic subsystem builder {:?} due to error: {err}" ,
189+ entry. path( )
190+ ) ;
191+ }
192+ }
187193 } ;
188194 }
189195 }
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ pub struct ResolvedField {
9494 pub default_value : Option < ResolvedFieldDefault > ,
9595 pub update_sync : bool ,
9696 pub readonly : bool ,
97+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
9798 pub relation_path : Option < Vec < String > > ,
9899 pub doc_comments : Option < String > ,
99100 pub computed : Option < ResolvedComputedField > ,
You can’t perform that action at this time.
0 commit comments