Open vacarsu opened 1 year ago
Changes Graph.find/2 to pass a full primitive instead of just the primitive's id to the finder function.
Graph.find/2
Also adds a Graph.find_by_id/2 method to preserve the api, primarily for Graph.modify and for any one else who may be calling find.
Graph.find_by_id/2
Graph.modify
According to the docs, this should pass a full primitive.
This could potentially break other code using Graph.find/2 currently expecting a primitive id.
Description
Changes
Graph.find/2
to pass a full primitive instead of just the primitive's id to the finder function.Also adds a
Graph.find_by_id/2
method to preserve the api, primarily forGraph.modify
and for any one else who may be calling find.Motivation and Context
According to the docs, this should pass a full primitive.
Types of changes
This could potentially break other code using
Graph.find/2
currently expecting a primitive id.