Private methods prevent extending the parser
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 63.2k
- Forks
- 10.3k
- Avg merge
- 11d 20h
- Merged PRs (30d)
- 2
Description
Hi there!
I'm using the socket-io parser and trying to add a bit of functionality on top, without duplicating everything. It would be amazing if I could just extend the socket-io parser and overwrite a couple of the methods (e.g. the string parsing), but because they are all private I'm not able to. Is there any chance they could be made protected so this is possible?
Many thanks,
Oli
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the socket.io parser implementation and its string-parsing method, then inspect how the parser's private methods are declared and used. Determine the intended subclassing surface and verify that changing method visibility preserves existing parser behavior; the issue names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100