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

Implement a basic RESP3Token parser #71

Merged
merged 13 commits into from
Jul 5, 2023
Merged

Conversation

Joannis
Copy link
Member

@Joannis Joannis commented Jul 3, 2023

No description provided.

@fabianfett fabianfett marked this pull request as ready for review July 5, 2023 06:50
Sources/RESP3/RESP3Error.swift Outdated Show resolved Hide resolved
Sources/RESP3/RESP3Error.swift Outdated Show resolved Hide resolved
case canNotParseBigNumber
}

private let base: Base
Copy link
Member Author

Choose a reason for hiding this comment

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

Could we add an index here? That way we can correlate the error back to a specific location in the received ByteBuffer. Definitely helps debugging should this ever trigger

Copy link
Member

Choose a reason for hiding this comment

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

I do understand and appreciate the feature request. However is that something that we can put off for later?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds good, do you want me to make an issue for this?

Copy link
Member

Choose a reason for hiding this comment

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

yeah go for it!

Sources/RESP3/RESP3Token.swift Show resolved Hide resolved
@Joannis
Copy link
Member Author

Joannis commented Jul 5, 2023

Approved.

@fabianfett fabianfett merged commit 9225dc3 into main Jul 5, 2023
@fabianfett fabianfett deleted the feature/jo/resp3-tokens branch July 5, 2023 15:51
@fabianfett fabianfett added the 🆕 semver/minor Adds new public API. label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants