Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LinkableSpecName.from_name to parse custom grains #1496

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

WilliamDee
Copy link
Contributor

@WilliamDee WilliamDee commented Oct 31, 2024

Context

With the addition of custom granularities, when we parse the dundered names via LinkableSpecName.from_name, we need to be able to know whether the grain provided is a custom grain. This means we need to pass that information through to this classmethod.

Resolves SL-2971

Copy link

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

Copy link

linear bot commented Oct 31, 2024

Copy link
Contributor

@courtneyholcomb courtneyholcomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a few suggestions, especially around performance! But otherwise looks great!

@WilliamDee WilliamDee force-pushed the will/linkable-spec-custom-grain branch from bb06c31 to 0b47079 Compare November 4, 2024 20:26
Copy link
Contributor

@courtneyholcomb courtneyholcomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!! 🚀 🚀

@WilliamDee WilliamDee merged commit 289b278 into main Nov 5, 2024
15 checks passed
@WilliamDee WilliamDee deleted the will/linkable-spec-custom-grain branch November 5, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants