Repository navigation
Fix local builds that use cache or additional command flags - #103
Merged
Merged
Conversation
Marton6
requested changes
Dec 12, 2022
jpcoenen
reviewed
Dec 12, 2022
Member
|
Let's also tackle |
Member
Yes, same for |
Contributor
Author
Done! |
Marton6
approved these changes
Dec 13, 2022
Member
|
Changed the base branch to |
jpcoenen
force-pushed
the
protocol-v3
branch
2 times, most recently
from
December 13, 2022 11:26
881b61a to
52efef5
Compare
Member
|
I'm also going to rebase this branch onto |
jpcoenen
force-pushed
the
andi_t/fix-local-build-rpc-issues
branch
from
December 13, 2022 11:34
40d69a6 to
5e64d1d
Compare
jpcoenen
approved these changes
Dec 13, 2022
hculea
reviewed
Dec 13, 2022
hculea
approved these changes
Dec 13, 2022
Contributor
Author
|
For reference, Horia and I functionally tested this for both |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: #90
Why
The
CacheandCommandLinefield were left nil in the provision output response. This caused panics for both plugins usingCacheand plugins using additional command flags.Actually, the desired response of the RPC call should be the
ProvisionOutputexactly as it was passed down from OP (as @Marton6 noted), but for a certain reason the fields of the pointer argument (output) of the call were nullified. (were brought to their zero values).What
this MR:
ProvisionOutputfield to theProvisionCredentialRequest., and uses it as response of the RPC call