Skip to content

[native_assets_cli] Open ended asset types list #968

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

Open
dcharkes opened this issue Feb 16, 2024 · 0 comments
Open

[native_assets_cli] Open ended asset types list #968

dcharkes opened this issue Feb 16, 2024 · 0 comments
Labels
P2 A bug or feature request we're likely to work on package:hooks

Comments

@dcharkes
Copy link
Collaborator

@mkustermann suggested that BuildInput should provide a list of support asset types.
Providing any assets in the BuildOutput that are not supported is an error.

This would enable other embedders/launchers to support their own asset types, without making PRs to this package.

Some open questions:

  • How are such assets versioned? If such asset type wants to do a breaking change, it wouldn't be covered by the protocol version. Leading to runtime failures.
  • How should asset types be name spaced? How do we avoid name collisions on a String type? Should embedders/launchers register a package according to their name on dartdev and use that (or prefix with that)?
@dcharkes dcharkes added P2 A bug or feature request we're likely to work on package:hooks labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on package:hooks
Projects
None yet
Development

No branches or pull requests

1 participant