You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Implement a type registry somewhere in schemata. @VaughnVernon can provide more info.
Implement a new class that implements the io.vlingo.schemata.codegen.processor.types.TypeResolver. You can see an example in the test code
NOTE: The InMemoryTypeResolver has been temporarily moved to src/main so the compiler will work for end-to-end tests.
The text was updated successfully, but these errors were encountered:
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?
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
NOTE: The
InMemoryTypeResolver
has been temporarily moved tosrc/main
so the compiler will work for end-to-end tests.The text was updated successfully, but these errors were encountered: