Skip to content

Factor out require_paths logic to its own class - #1062

Merged
castwide merged 1 commit into
castwide:masterfrom
apiology:require_paths
Sep 6, 2025
Merged

castwide merged 1 commit into
castwide:masterfrom
apiology:require_paths

Conversation

@apiology

@apiology apiology commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@apiology

apiology commented Sep 3, 2025

Copy link
Copy Markdown
Contributor Author

This is another chunk out of #1006

#
# @return [Array<String>]
def require_paths
# @todo are the semantics of '*' the same as '', meaning 'don't send back any require paths'?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The exceptional handling for '*' can probably be deprecated at some point. I'm having trouble thinking of use cases where it's still necessary and can't be handled in other ways that don't introduce confusion.

@castwide

castwide commented Sep 6, 2025

Copy link
Copy Markdown
Owner

Looks good, thanks!

@castwide
castwide merged commit 956924c into castwide:master Sep 6, 2025
23 checks passed
apiology added a commit to apiology/solargraph that referenced this pull request Sep 11, 2025
These were moved to workspace/require_paths.rb in
castwide#1062
@apiology apiology mentioned this pull request Sep 11, 2025
castwide pushed a commit that referenced this pull request Sep 30, 2025
These were moved to workspace/require_paths.rb in
#1062
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.

2 participants