tst-reflect icon indicating copy to clipboard operation
tst-reflect copied to clipboard

How to share metastore between libraries and current project ?

Open leohubert opened this issue 3 years ago • 3 comments

I develop a library that uses tst-reflect and I want to share the metastore of a project with my library (and conversely, share the metastore of my library with the project).

In 1 word, have a common metastore.

Is it possible?

leohubert avatar Aug 23 '22 12:08 leohubert

Hi @leohubert, check the discussion #58.

Now the end application using reflection should generate types, even for an npm packages. Package built with current version can contain metadata and the package can work with them and also package can work with Types from end application.

What is not supported yet is listing of all the types using Type.getTypes(). Well, it will work partly, but... it wasn't meant to work like this in current version. It will be available in the next version.

Hookyns avatar Aug 23 '22 19:08 Hookyns

Thanks for the reply @Hookyns!

I'll see how I can help you to move forward :)

leohubert avatar Aug 25 '22 08:08 leohubert

I've designed system for this in v1. Partially implemented.

Hookyns avatar Sep 16 '22 06:09 Hookyns

Implemented for the v1. Not in the current version.

Hookyns avatar Sep 27 '22 21:09 Hookyns