lib/neo4j/shared/property.rb in neo4j-8.0.0.alpha.12 vs lib/neo4j/shared/property.rb in neo4j-8.0.0.rc.1

- old
+ new

@@ -24,11 +24,14 @@ attributes = process_attributes(attributes) modded_attributes = inject_defaults!(attributes) validate_attributes!(modded_attributes) writer_method_props = extract_writer_methods!(modded_attributes) send_props(writer_method_props) + self.undeclared_properties = attributes @_persisted_obj = nil end + + def undeclared_properties=(_); end def inject_defaults!(starting_props) return starting_props if self.class.declared_properties.declared_property_defaults.empty? self.class.declared_properties.inject_defaults!(self, starting_props || {}) end