ts-japi icon indicating copy to clipboard operation
ts-japi copied to clipboard

[FR] Async metaizer

Open triqi opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? *

It is useful to be able to perform async operations to produce the output of the metadata.

Describe the solution you'd like*

If the metaizer is an async function, wait for it to resolve.

Describe alternatives you've considered*

  1. Add the meta attributes to the main resource, and while fetching the resource, resolving any meta to include and append it to the resource.
  2. Ensure to exclude the meta attributes from the main resource projection and include it in the metaizer return object.

Additional context

None.

* means required.

triqi avatar May 12 '21 16:05 triqi