Skip to content

Conversation

@vishesh
Copy link
Contributor

@vishesh vishesh commented Sep 30, 2025

I've to add some tests to make sure the encoding stays consistent with other bindings. Integer encoding is the one that'll definitely need that.

@vishesh vishesh requested a review from jzhou77 October 1, 2025 16:39
@jzhou77 jzhou77 merged commit d428fcd into FoundationDB:main Oct 3, 2025
1amageek added a commit to 1amageek/fdb-swift-bindings that referenced this pull request Nov 8, 2025
Convert SubspaceError from enum to struct-based error with error codes.
This design follows SwiftNIO's FileSystemError pattern and provides
better extensibility for future error cases.

The struct-based approach will make it easier to add new error types
when the Directory Layer is introduced in the next PR.

Also replace guard with if in strinc error check for better readability,
as guard is intended for early returns.

Addresses: glbrntt review comments FoundationDB#3, FoundationDB#5
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