Skip to content

Scopes are deserialized twice#310

Merged
divarvel merged 3 commits intoeclipse-biscuit:mainfrom
saoirse-a:redundant-scope-deserialization
Sep 24, 2025
Merged

Scopes are deserialized twice#310
divarvel merged 3 commits intoeclipse-biscuit:mainfrom
saoirse-a:redundant-scope-deserialization

Conversation

@saoirse-a
Copy link
Copy Markdown
Contributor

No description provided.


let scopes: Result<Vec<Scope>, _> =
input.scope.iter().map(proto_scope_to_token_scope).collect();

Copy link
Copy Markdown
Contributor

@divarvel divarvel Sep 15, 2025

Choose a reason for hiding this comment

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

this will require removing the ? below, i think, since this definition shadows the previous one.

@divarvel
Copy link
Copy Markdown
Contributor

i could not suggest fixes from the pr page itself, so i opened a PR on your branch: saoirse-a#1

fix remaining extraneous scope deserialization and leftover try operator
@saoirse-a
Copy link
Copy Markdown
Contributor Author

Merged in, thanks!

@divarvel divarvel merged commit 85c0931 into eclipse-biscuit:main Sep 24, 2025
4 checks passed
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