Skip to content

Simplify bundle function return type#129

Merged
PaulLaux merged 1 commit intozsa1from
bundle_remove_option
Dec 20, 2024
Merged

Simplify bundle function return type#129
PaulLaux merged 1 commit intozsa1from
bundle_remove_option

Conversation

@ConstanceBeguier
Copy link
Collaborator

@ConstanceBeguier ConstanceBeguier commented Dec 19, 2024

Previously, the bundle function returns a Result<Option<UnauthorizedBundleWithMetadata<V, FL>>, BuildError> but the Option was never None because the actions vector could not be empty.
Now, the bundle function returns a Result<UnauthorizedBundleWithMetadata<V, FL>, BuildError>.

Previously, the bundle function returns a
Result<Option<UnauthorizedBundleWithMetadata<V, FL>>, BuildError>
but the Option was never None because the actions vector could not
be empty.
Now, the bundle function returns a
Result<UnauthorizedBundleWithMetadata<V, FL>, BuildError>
@QED-it QED-it deleted a comment from what-the-diff bot Dec 19, 2024
@PaulLaux PaulLaux merged commit 9eb97f0 into zsa1 Dec 20, 2024
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