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

Problem adding Context context parameter to idstore and event endpoints #300

Open
MavenRain opened this issue Feb 8, 2023 · 0 comments
Open

Comments

@MavenRain
Copy link
Contributor

When attempting to add a context parameter, the compiler complained about the Context type not implementing Decode, when this has not happened for other ledger endpoints.

For example: Changing

fn get_from_recall_phrase(
        &self,
        args: idstore::GetFromRecallPhraseArgs,
    ) -> Result<idstore::GetReturns, ManyError>

to

fn get_from_recall_phrase(
        &self,
        args: idstore::GetFromRecallPhraseArgs,
        context: Context
    ) -> Result<idstore::GetReturns, ManyError>

reproduces the compiler error mentioned.

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

No branches or pull requests

1 participant