Skip to content

Conversation

@kaspth
Copy link

@kaspth kaspth commented Jan 9, 2025

I know this is mirroring Active Record's ScopeRegistry but that code has always bothered me 😂

Here I'm just playing with slimming the code down as much as possible to accomplish what we need to here.

I know this is mirroring Active Record's `ScopeRegistry` but that code has always bothered me 😂

Here I'm just playing with slimming the code down as much as possible to accomplish what we need to here.
@kaspth
Copy link
Author

kaspth commented Jan 9, 2025

Definitely not saying this needs refactoring, I just find the original code having a lot of indirection for this relatively small piece of code.

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