Skip to content

Conversation

vacarsu
Copy link
Contributor

@vacarsu vacarsu commented Sep 22, 2023

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 for Graph.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant