Skip to content

Add a test for ServiceActor::Result#[]#211

Merged
sunny merged 1 commit intosunny:mainfrom
viralpraxis:add-a-test-for-service-actor-result-indexed-getter
Nov 19, 2025
Merged

Add a test for ServiceActor::Result#[]#211
sunny merged 1 commit intosunny:mainfrom
viralpraxis:add-a-test-for-service-actor-result-indexed-getter

Conversation

@viralpraxis
Copy link
Copy Markdown
Contributor

Currently the #[] bypasses the "undefined method warning", but there are no tests for this behavior

@viralpraxis viralpraxis force-pushed the add-a-test-for-service-actor-result-indexed-getter branch from 7e1df58 to ae05eb7 Compare November 17, 2025 20:53
Copy link
Copy Markdown
Owner

@sunny sunny left a comment

Choose a reason for hiding this comment

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

Thank you! <3

Currently the `#[]` bypasses the "undefined method warning", but there are no
tests for this behaviour. So let's add once to make sure it's not lost
@viralpraxis viralpraxis force-pushed the add-a-test-for-service-actor-result-indexed-getter branch from ae05eb7 to b2d1d61 Compare November 18, 2025 11:33
Copy link
Copy Markdown
Owner

@sunny sunny left a comment

Choose a reason for hiding this comment

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

@sunny sunny merged commit 7ccbbb0 into sunny:main Nov 19, 2025
6 checks passed
@viralpraxis viralpraxis deleted the add-a-test-for-service-actor-result-indexed-getter branch November 19, 2025 17:07
@viralpraxis
Copy link
Copy Markdown
Contributor Author

@sunny by the way, are there any plans on actually raising an error instead of printing a warning? It seems like enough time has passed (and we already had a major bump)

@sunny
Copy link
Copy Markdown
Owner

sunny commented Nov 20, 2025

Yeah I agree that now would be a good time! If you want to have a go at it, please go for it 💪🏻

viralpraxis added a commit to viralpraxis/actor that referenced this pull request Nov 20, 2025
viralpraxis added a commit to viralpraxis/actor that referenced this pull request Nov 20, 2025
viralpraxis added a commit to viralpraxis/actor that referenced this pull request Nov 20, 2025
viralpraxis added a commit to viralpraxis/actor that referenced this pull request Nov 20, 2025
viralpraxis added a commit to viralpraxis/actor that referenced this pull request Nov 20, 2025
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