Skip to content

Addon return values are inconsitent #101

@dajimenezriv-internxt

Description

@dajimenezriv-internxt

Currently, two inconsistencies has been found in the C++ code in the addon.
The function UpdateFileIdentityWrapper returns a value that is not initialized:

Image

Or the function DisconnectSyncRoot, in which some paths do not return a value.

Image

To improve this, zod will be implemented in the virtual drive and all outputs from the addon will be check against the zod schema.
No errors will be thrown, but inconsistencies will be added to a log so we can continue to improve type safety between C++ and Typescript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions