Skip to content

[FR] Solve code smell in secure wrappers #19

Description

@Flamitsu

Is your feature request related to a problem? Please describe.
Secure wrappers are a bless in the SDK, but, they have a problem.
Normally you need to put those lines when you try to access a protocol / function:
let Some(protocol) = self.get_protocol() else { Err(Status.context(""))?};

Describe the solution you'd like
Solve it without Options and make the program boom if the pointer is null

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions