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

load does not recognize file types, if file's codec is in a module, which is not yet imported #2479

Open
Oldes opened this issue Jan 11, 2022 · 0 comments

Comments

@Oldes
Copy link
Owner

Oldes commented Jan 11, 2022

Recently I started to list some of codecs as delayed... for example a swf codec, which people will probably never need. The same is done for a xml codec, which is something more common.

It means, that if such a codec is not first imported using import 'xml, load %some.xml will not load data as a xml, but as a markup instead.

I think, that to be able load swf, xml or other file types without first importing its codecs manually, the known system/options/file-types must be defined separately and read-decode should import correct module according file's extension, if it's not yet imported.

Once there will be a central module repository, it could even first install the module, if it's not part of the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant