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

Allow retrieving multiple components #26

Open
RubenVerborgh opened this issue Dec 20, 2020 · 1 comment
Open

Allow retrieving multiple components #26

RubenVerborgh opened this issue Dec 20, 2020 · 1 comment
Labels

Comments

@RubenVerborgh
Copy link
Contributor

Currently, instantiateFromUrl allows specifying one componentUrl.
It would be interesting to specify an array and get back a key/value object.

@RubenVerborgh
Copy link
Contributor Author

Implementation suggestion: it basically comes down to instantiating a Record<string, any> object; if needed, a dummy class could do:

class DummyRecord {
  constructor (record: Record<string, any>) {
    return record;
  }
}

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

No branches or pull requests

1 participant