vlingo / xoom-schemata

The VLINGO XOOM Schema Registry.
https://vlingo.io
Mozilla Public License 2.0
17 stars 9 forks source link

[Compiler] Build a new TypeResolver #24

Closed kmruiz closed 5 years ago

kmruiz commented 5 years ago

A TypeResolver is a class that needs to be implemented so the compiler can find out which types are custom types defined in schemata. Right now there is no implementation of it, so the compiler itself is unusable in a real environment.

How to implement

wwerner commented 5 years ago

I think this depends on #42 (unique constraints for organization/unit/... names), as we want to resolve using the schema coordinates like org:unit:context:..., correct?

kmruiz commented 5 years ago

AFAIK you are right, because the type reference needs to be a full qualified name with an optional version.

kmruiz commented 5 years ago

I'm going to create an specific issue for implementing the TypeResolver based on io.vlingo.schemata.query.SchemaVersionQueries