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

Rust parsing Variants to Enums is not implemented #253

Closed
Alwin-Stockinger opened this issue Jun 29, 2021 · 1 comment
Closed

Rust parsing Variants to Enums is not implemented #253

Alwin-Stockinger opened this issue Jun 29, 2021 · 1 comment

Comments

@Alwin-Stockinger
Copy link

Using candid specifications with variants gives me a compiler error help: message: not implemented. I stumbled on this when I wanted to use variants from a Motoko Service in Rust.
I guess this comes from declare_variant function using the unimplemented function usage_variant in the rust codegen module.
Are there any plans on an implementation for that?

@chenyan-dfinity
Copy link
Contributor

The codegen module is out-dated. We are working on a new Rust binding, see #255.

Closing this as a duplicate of #255

ninegua pushed a commit to ninegua/candid that referenced this issue Apr 22, 2022
* rm tslint from deps of e2e/node

* add eslint to e2e/node

* rm pesky AuthenticationResponseIdentities.ts file...

* fix typo in jsdoc e2e/node/canisters/identity.ts

* don't use shell syntax in package.json lint script
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

2 participants