- Ensure that `serializeRecord()` and `fromJSON()` are publically imported as part of the package import to fix user-defined types lookups (such as enums)

This commit is contained in:
Tristan B. Velloza Kildaire 2023-01-06 15:30:59 +02:00
parent 5c0dcfe15b
commit d89b7159dd
1 changed files with 4 additions and 0 deletions

View File

@ -2,3 +2,7 @@ module libpb;
public import libpb.exceptions;
public import libpb.driver;
// These being brought in means they can UDT (user-defined types) like enums it cannot see otherwise
public import libpb.serialization : serializeRecord;
public import libpb.deserialization : fromJSON;