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

[verification] Return handle in client to make more ergonomic #266

Open
jhand2 opened this issue Nov 21, 2023 · 0 comments
Open

[verification] Return handle in client to make more ergonomic #266

jhand2 opened this issue Nov 21, 2023 · 0 comments

Comments

@jhand2
Copy link
Collaborator

jhand2 commented Nov 21, 2023

We should consider returning (*ContextHandle, <response_struct>, error) from most of the DPE client functions. Because DPE handles are single-use, always returning the new context handle makes the API easier to use.

Callers can use this unconditionally since even if using the default context, it is safe to reset to the default context each time.

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