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

Meta-issue: Features #2303

Open
6 of 28 tasks
Tracked by #3921
rossberg opened this issue Feb 2, 2021 · 8 comments
Open
6 of 28 tasks
Tracked by #3921

Meta-issue: Features #2303

rossberg opened this issue Feb 2, 2021 · 8 comments
Labels
feature New feature or request language design Requires design work meta Meta issue

Comments

@rossberg
Copy link
Contributor

rossberg commented Feb 2, 2021

Small:

Medium:

Large:

@rossberg rossberg added feature New feature or request language design Requires design work meta Meta issue labels Feb 2, 2021
@nomeata
Copy link
Collaborator

nomeata commented Feb 2, 2021

Trac really shined at making such ad-hoc lists of issues useful (by turning them into tables with metadata like status – github doesn’t even mark links to closed issues differently :-()

@chenyan-dfinity
Copy link
Contributor

Another issue worth considering: Upgrade class object in stable memory (https://github.com/dfinity/dx-triage/issues/40)

@crusso
Copy link
Contributor

crusso commented Feb 2, 2021

The restrictions of #703 (Effect System) are already enforced, just not with a standard effect system.

@crusso
Copy link
Contributor

crusso commented Feb 2, 2021

I believe "Canister parameters" is long done, both in Motoko and IDL - not sure about dfx? @chenyan-dfinity?

@chenyan-dfinity
Copy link
Contributor

dfx is also done.

$ dfx canister install --help
OPTIONS:
        --argument <argument>                        Specifies the argument to pass to the method
        --argument-type <argument-type>
            Specifies the data type for the argument when making the call using an argument
            [possible values: idl, raw]

@chenyan-dfinity
Copy link
Contributor

I think the open issue here is for Motoko to import .did file that contains actor class and instantiate it.

@rossberg
Copy link
Contributor Author

rossberg commented Feb 3, 2021

Another issue worth considering: Upgrade class object in stable memory (dfinity/dx-triage#40)

Stable objects would require stable functions, so I extended that item. An alternative would be to support conversion hooks for serialisation, i.e., user-defined serialisation formats. Also added an item for that, though it's unclear how to do that.

I believe "Canister parameters" is long done

My understanding is that there still are various loose ends about did files containing such parameters, e.g., how to remove them when uploading the canister, or how to import them?

@crusso
Copy link
Contributor

crusso commented Feb 3, 2021

I think the open issue here is for Motoko to import .did file that contains actor class and instantiate it.

I think that is equivalent to adding support for foreign actor classes, which was tracked here:

#1905

With our current compilation scheme (quoting the wasm in wasm), this would require both the .did file and the actual wasm of the imported class, or some way to install/retrieve an actor class install on the system.

I don't think Andreas was a fan of foreign actor class import, should we rethink?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request language design Requires design work meta Meta issue
Projects
None yet
Development

No branches or pull requests

4 participants