lib/neo4j/shared/declared_property.rb in neo4j-7.2.3 vs lib/neo4j/shared/declared_property.rb in neo4j-8.0.0.alpha.1
- old
+ new
@@ -64,10 +64,10 @@
end
def default_value
options[:default]
end
- alias_method :default, :default_value
+ alias default default_value
def fail_invalid_options!
case
when index?(:exact) && constraint?(:unique)
fail Neo4j::InvalidPropertyOptionsError,